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

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: Code review. 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
« no previous file with comments | « chrome/browser/profiles/profile.h ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 const std::string& cros_user) OVERRIDE; 130 const std::string& cros_user) OVERRIDE;
131 virtual TokenService* GetTokenService() OVERRIDE; 131 virtual TokenService* GetTokenService() OVERRIDE;
132 void InitSyncService(const std::string& cros_user); 132 void InitSyncService(const std::string& cros_user);
133 virtual ExtensionInfoMap* GetExtensionInfoMap() OVERRIDE; 133 virtual ExtensionInfoMap* GetExtensionInfoMap() OVERRIDE;
134 virtual PromoCounter* GetInstantPromoCounter() OVERRIDE; 134 virtual PromoCounter* GetInstantPromoCounter() OVERRIDE;
135 virtual ChromeURLDataManager* GetChromeURLDataManager() OVERRIDE; 135 virtual ChromeURLDataManager* GetChromeURLDataManager() OVERRIDE;
136 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; 136 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE;
137 virtual void ClearNetworkingHistorySince(base::Time time) OVERRIDE; 137 virtual void ClearNetworkingHistorySince(base::Time time) OVERRIDE;
138 virtual GURL GetHomePage() OVERRIDE; 138 virtual GURL GetHomePage() OVERRIDE;
139 virtual NetworkActionPredictor* GetNetworkActionPredictor() OVERRIDE; 139 virtual NetworkActionPredictor* GetNetworkActionPredictor() OVERRIDE;
140 virtual void SaveSessionState() OVERRIDE;
140 141
141 #if defined(OS_CHROMEOS) 142 #if defined(OS_CHROMEOS)
142 virtual void ChangeAppLocale(const std::string& locale, 143 virtual void ChangeAppLocale(const std::string& locale,
143 AppLocaleChangedVia) OVERRIDE; 144 AppLocaleChangedVia) OVERRIDE;
144 virtual void OnLogin() OVERRIDE; 145 virtual void OnLogin() OVERRIDE;
145 virtual void SetupChromeOSEnterpriseExtensionObserver() OVERRIDE; 146 virtual void SetupChromeOSEnterpriseExtensionObserver() OVERRIDE;
146 virtual void InitChromeOSPreferences() OVERRIDE; 147 virtual void InitChromeOSPreferences() OVERRIDE;
147 #endif // defined(OS_CHROMEOS) 148 #endif // defined(OS_CHROMEOS)
148 149
149 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE; 150 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE;
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 #endif 311 #endif
311 312
312 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 313 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
313 314
314 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; 315 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_;
315 316
316 Profile::Delegate* delegate_; 317 Profile::Delegate* delegate_;
317 318
318 chrome_browser_net::Predictor* predictor_; 319 chrome_browser_net::Predictor* predictor_;
319 320
321 bool session_restore_enabled_;
322
320 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 323 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
321 }; 324 };
322 325
323 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 326 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile.h ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698