Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1026)

Side by Side Diff: chrome/browser/profiles/profile_impl.h

Issue 8533013: SessionRestore: Store session cookies and restore them if chrome crashes or auto-restarts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This class gathers state related to a single user profile. 5 // This class gathers state related to a single user profile.
6 6
7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
9 #pragma once 9 #pragma once
10 10
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 const std::string& cros_user) OVERRIDE; 129 const std::string& cros_user) OVERRIDE;
130 virtual TokenService* GetTokenService() OVERRIDE; 130 virtual TokenService* GetTokenService() OVERRIDE;
131 void InitSyncService(const std::string& cros_user); 131 void InitSyncService(const std::string& cros_user);
132 virtual ExtensionInfoMap* GetExtensionInfoMap() OVERRIDE; 132 virtual ExtensionInfoMap* GetExtensionInfoMap() OVERRIDE;
133 virtual PromoCounter* GetInstantPromoCounter() OVERRIDE; 133 virtual PromoCounter* GetInstantPromoCounter() OVERRIDE;
134 virtual ChromeURLDataManager* GetChromeURLDataManager() OVERRIDE; 134 virtual ChromeURLDataManager* GetChromeURLDataManager() OVERRIDE;
135 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; 135 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE;
136 virtual void ClearNetworkingHistorySince(base::Time time) OVERRIDE; 136 virtual void ClearNetworkingHistorySince(base::Time time) OVERRIDE;
137 virtual GURL GetHomePage() OVERRIDE; 137 virtual GURL GetHomePage() OVERRIDE;
138 virtual NetworkActionPredictor* GetNetworkActionPredictor() OVERRIDE; 138 virtual NetworkActionPredictor* GetNetworkActionPredictor() OVERRIDE;
139 virtual void SaveSessionState() OVERRIDE;
140 virtual void RestoreSessionState() OVERRIDE;
141 virtual void DiscardSessionState() OVERRIDE;
139 142
140 #if defined(OS_CHROMEOS) 143 #if defined(OS_CHROMEOS)
141 virtual void ChangeAppLocale(const std::string& locale, 144 virtual void ChangeAppLocale(const std::string& locale,
142 AppLocaleChangedVia) OVERRIDE; 145 AppLocaleChangedVia) OVERRIDE;
143 virtual void OnLogin() OVERRIDE; 146 virtual void OnLogin() OVERRIDE;
144 virtual void SetupChromeOSEnterpriseExtensionObserver() OVERRIDE; 147 virtual void SetupChromeOSEnterpriseExtensionObserver() OVERRIDE;
145 virtual void InitChromeOSPreferences() OVERRIDE; 148 virtual void InitChromeOSPreferences() OVERRIDE;
146 #endif // defined(OS_CHROMEOS) 149 #endif // defined(OS_CHROMEOS)
147 150
148 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE; 151 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE;
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; 303 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_;
301 304
302 Profile::Delegate* delegate_; 305 Profile::Delegate* delegate_;
303 306
304 chrome_browser_net::Predictor* predictor_; 307 chrome_browser_net::Predictor* predictor_;
305 308
306 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 309 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
307 }; 310 };
308 311
309 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 312 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698