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

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

Issue 8872036: Profiles: Move NetworkActionPredictor to the ProfileKeyedService framework. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: More 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
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 virtual ProfileSyncService* GetProfileSyncService( 129 virtual ProfileSyncService* GetProfileSyncService(
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;
140 virtual void SaveSessionState() OVERRIDE; 139 virtual void SaveSessionState() OVERRIDE;
141 140
142 #if defined(OS_CHROMEOS) 141 #if defined(OS_CHROMEOS)
143 virtual void ChangeAppLocale(const std::string& locale, 142 virtual void ChangeAppLocale(const std::string& locale,
144 AppLocaleChangedVia) OVERRIDE; 143 AppLocaleChangedVia) OVERRIDE;
145 virtual void OnLogin() OVERRIDE; 144 virtual void OnLogin() OVERRIDE;
146 virtual void SetupChromeOSEnterpriseExtensionObserver() OVERRIDE; 145 virtual void SetupChromeOSEnterpriseExtensionObserver() OVERRIDE;
147 virtual void InitChromeOSPreferences() OVERRIDE; 146 virtual void InitChromeOSPreferences() OVERRIDE;
148 #endif // defined(OS_CHROMEOS) 147 #endif // defined(OS_CHROMEOS)
149 148
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 scoped_ptr<GAIAInfoUpdateService> gaia_info_update_service_; 258 scoped_ptr<GAIAInfoUpdateService> gaia_info_update_service_;
260 scoped_refptr<HistoryService> history_service_; 259 scoped_refptr<HistoryService> history_service_;
261 scoped_ptr<FaviconService> favicon_service_; 260 scoped_ptr<FaviconService> favicon_service_;
262 scoped_ptr<AutocompleteClassifier> autocomplete_classifier_; 261 scoped_ptr<AutocompleteClassifier> autocomplete_classifier_;
263 scoped_refptr<history::ShortcutsBackend> shortcuts_backend_; 262 scoped_refptr<history::ShortcutsBackend> shortcuts_backend_;
264 scoped_refptr<WebDataService> web_data_service_; 263 scoped_refptr<WebDataService> web_data_service_;
265 scoped_refptr<PasswordStore> password_store_; 264 scoped_refptr<PasswordStore> password_store_;
266 scoped_refptr<WebKitContext> webkit_context_; 265 scoped_refptr<WebKitContext> webkit_context_;
267 scoped_refptr<fileapi::FileSystemContext> file_system_context_; 266 scoped_refptr<fileapi::FileSystemContext> file_system_context_;
268 scoped_refptr<quota::QuotaManager> quota_manager_; 267 scoped_refptr<quota::QuotaManager> quota_manager_;
269 scoped_ptr<NetworkActionPredictor> network_action_predictor_;
270 bool profile_sync_service_created_; 268 bool profile_sync_service_created_;
271 bool history_service_created_; 269 bool history_service_created_;
272 bool favicon_service_created_; 270 bool favicon_service_created_;
273 bool created_web_data_service_; 271 bool created_web_data_service_;
274 bool created_password_store_; 272 bool created_password_store_;
275 bool clear_local_state_on_exit_; 273 bool clear_local_state_on_exit_;
276 // Whether or not the last session exited cleanly. This is set only once. 274 // Whether or not the last session exited cleanly. This is set only once.
277 bool last_session_exited_cleanly_; 275 bool last_session_exited_cleanly_;
278 276
279 base::OneShotTimer<ProfileImpl> create_session_service_timer_; 277 base::OneShotTimer<ProfileImpl> create_session_service_timer_;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 Profile::Delegate* delegate_; 316 Profile::Delegate* delegate_;
319 317
320 chrome_browser_net::Predictor* predictor_; 318 chrome_browser_net::Predictor* predictor_;
321 319
322 bool session_restore_enabled_; 320 bool session_restore_enabled_;
323 321
324 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 322 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
325 }; 323 };
326 324
327 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 325 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698