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

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

Issue 10823208: Reverting this as it causes browser tests on the Linux ChromiumOS builder to fail. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 months 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 9
10 #include <string> 10 #include <string>
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 virtual ExtensionService* GetExtensionService() OVERRIDE; 80 virtual ExtensionService* GetExtensionService() OVERRIDE;
81 virtual extensions::UserScriptMaster* GetUserScriptMaster() OVERRIDE; 81 virtual extensions::UserScriptMaster* GetUserScriptMaster() OVERRIDE;
82 virtual ExtensionProcessManager* GetExtensionProcessManager() OVERRIDE; 82 virtual ExtensionProcessManager* GetExtensionProcessManager() OVERRIDE;
83 virtual extensions::EventRouter* GetExtensionEventRouter() OVERRIDE; 83 virtual extensions::EventRouter* GetExtensionEventRouter() OVERRIDE;
84 virtual ExtensionSpecialStoragePolicy* 84 virtual ExtensionSpecialStoragePolicy*
85 GetExtensionSpecialStoragePolicy() OVERRIDE; 85 GetExtensionSpecialStoragePolicy() OVERRIDE;
86 virtual FaviconService* GetFaviconService(ServiceAccessType sat) OVERRIDE; 86 virtual FaviconService* GetFaviconService(ServiceAccessType sat) OVERRIDE;
87 virtual GAIAInfoUpdateService* GetGAIAInfoUpdateService() OVERRIDE; 87 virtual GAIAInfoUpdateService* GetGAIAInfoUpdateService() OVERRIDE;
88 virtual HistoryService* GetHistoryService(ServiceAccessType sat) OVERRIDE; 88 virtual HistoryService* GetHistoryService(ServiceAccessType sat) OVERRIDE;
89 virtual HistoryService* GetHistoryServiceWithoutCreating() OVERRIDE; 89 virtual HistoryService* GetHistoryServiceWithoutCreating() OVERRIDE;
90 virtual policy::UserCloudPolicyManager* GetUserCloudPolicyManager() OVERRIDE;
91 virtual policy::PolicyService* GetPolicyService() OVERRIDE; 90 virtual policy::PolicyService* GetPolicyService() OVERRIDE;
92 virtual PrefService* GetPrefs() OVERRIDE; 91 virtual PrefService* GetPrefs() OVERRIDE;
93 virtual PrefService* GetOffTheRecordPrefs() OVERRIDE; 92 virtual PrefService* GetOffTheRecordPrefs() OVERRIDE;
94 virtual net::URLRequestContextGetter* 93 virtual net::URLRequestContextGetter*
95 GetRequestContextForExtensions() OVERRIDE; 94 GetRequestContextForExtensions() OVERRIDE;
96 virtual net::URLRequestContextGetter* GetRequestContextForIsolatedApp( 95 virtual net::URLRequestContextGetter* GetRequestContextForIsolatedApp(
97 const std::string& app_id) OVERRIDE; 96 const std::string& app_id) OVERRIDE;
98 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; 97 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE;
99 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; 98 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE;
100 virtual BookmarkModel* GetBookmarkModel() OVERRIDE; 99 virtual BookmarkModel* GetBookmarkModel() OVERRIDE;
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 179
181 FilePath path_; 180 FilePath path_;
182 FilePath base_cache_path_; 181 FilePath base_cache_path_;
183 182
184 // !!! BIG HONKING WARNING !!! 183 // !!! BIG HONKING WARNING !!!
185 // The order of the members below is important. Do not change it unless 184 // The order of the members below is important. Do not change it unless
186 // you know what you're doing. Also, if adding a new member here make sure 185 // you know what you're doing. Also, if adding a new member here make sure
187 // that the declaration occurs AFTER things it depends on as destruction 186 // that the declaration occurs AFTER things it depends on as destruction
188 // happens in reverse order of declaration. 187 // happens in reverse order of declaration.
189 188
190 // |prefs_| depends on |policy_service_|, which depends on 189 // |prefs_| depends on |policy_service_|.
191 // |user_cloud_policy_manager_|. 190 // TODO(bauerb): Once |prefs_| is a ProfileKeyedService, |policy_service_|
192 // TODO(bauerb, mnissler): Once |prefs_| is a ProfileKeyedService, 191 // should become one as well.
193 // |policy_service_| and |user_cloud_policy_manager_| should become
194 // ProfiledKeyedServices as well.
195 scoped_ptr<policy::UserCloudPolicyManager> cloud_policy_manager_;
196 scoped_ptr<policy::PolicyService> policy_service_; 192 scoped_ptr<policy::PolicyService> policy_service_;
197 193
198 // Keep |prefs_| on top for destruction order because |extension_prefs_|, 194 // Keep |prefs_| on top for destruction order because |extension_prefs_|,
199 // |net_pref_observer_|, |promo_resource_service_|, |io_data_| an others store 195 // |net_pref_observer_|, |promo_resource_service_|, |io_data_| an others store
200 // pointers to |prefs_| and shall be destructed first. 196 // pointers to |prefs_| and shall be destructed first.
201 scoped_ptr<PrefService> prefs_; 197 scoped_ptr<PrefService> prefs_;
202 scoped_ptr<PrefService> otr_prefs_; 198 scoped_ptr<PrefService> otr_prefs_;
203 scoped_ptr<VisitedLinkEventListener> visited_link_event_listener_; 199 scoped_ptr<VisitedLinkEventListener> visited_link_event_listener_;
204 scoped_ptr<VisitedLinkMaster> visited_link_master_; 200 scoped_ptr<VisitedLinkMaster> visited_link_master_;
205 ProfileImplIOData::Handle io_data_; 201 ProfileImplIOData::Handle io_data_;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 Profile::Delegate* delegate_; 254 Profile::Delegate* delegate_;
259 255
260 chrome_browser_net::Predictor* predictor_; 256 chrome_browser_net::Predictor* predictor_;
261 257
262 bool session_restore_enabled_; 258 bool session_restore_enabled_;
263 259
264 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 260 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
265 }; 261 };
266 262
267 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 263 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_dependency_manager.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698