Khushal said:
Isn't Portal 2 set in the distant future?
If the events of Portal 1 takes place around the same time as half life 1-2 (doesn't matter which). Then there is no way that anyonne in Half life 2: episode 3 could know anything about her future because Portal 2 hasn't even happend yet...
Actually
GLaDOS' partial destruction is followed by a period of inactivity within the Aperture Laboratories, during which time maintenance systems and Personality Cores maintain its functions. The facility remains in disarray, having become overgrown and dilapidated.[7] Pre-recorded 'Emergency Test Protocols' can oversee test chambers in times cataclysmic system failure, "able to sustain themselves on a minimum 1.1 Watt". Chell spends this time in stasis until the events of Portal 2. For at least some of her stasis, Chell is under supervision by a remaining Aperture employee, Doug Rattmann.
The span of time between Portal and Portal 2 is not entirely clear. During Portal 2's opening sequence, an automated 'Courtesy Call' implies that Test Subjects in stasis are revived every 50 days. However, when the player is next woken, an autonomous P.A. system reports that the time elapsed is "99999...99...". It is unknown what unit of time it refers to. The presence of unrotted paper, wood & upholstered furniture throughout the game's environments would seem to support a timespan of decades (ex: 9999 days, or 27 years) rather than centuries.
As such, the events of Portal 2 apparently coincide with the return of Gordon Freeman & The Resistance, around 202-.
(taken from the half life wiki)