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

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

Issue 7068025: Revert 86724 - Modifying the BackgroundModeManager to handle multiple profiles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 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
« no previous file with comments | « chrome/browser/profiles/profile.cc ('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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 virtual FindBarState* GetFindBarState(); 102 virtual FindBarState* GetFindBarState();
103 virtual bool HasProfileSyncService() const; 103 virtual bool HasProfileSyncService() const;
104 virtual bool DidLastSessionExitCleanly(); 104 virtual bool DidLastSessionExitCleanly();
105 virtual BookmarkModel* GetBookmarkModel(); 105 virtual BookmarkModel* GetBookmarkModel();
106 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry(); 106 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry();
107 virtual bool IsSameProfile(Profile* profile); 107 virtual bool IsSameProfile(Profile* profile);
108 virtual base::Time GetStartTime() const; 108 virtual base::Time GetStartTime() const;
109 virtual SpellCheckHost* GetSpellCheckHost(); 109 virtual SpellCheckHost* GetSpellCheckHost();
110 virtual void ReinitializeSpellCheckHost(bool force); 110 virtual void ReinitializeSpellCheckHost(bool force);
111 virtual WebKitContext* GetWebKitContext(); 111 virtual WebKitContext* GetWebKitContext();
112 virtual StatusTray* GetStatusTray();
112 virtual void MarkAsCleanShutdown(); 113 virtual void MarkAsCleanShutdown();
113 virtual void InitExtensions(bool extensions_enabled); 114 virtual void InitExtensions(bool extensions_enabled);
114 virtual void InitPromoResources(); 115 virtual void InitPromoResources();
115 virtual void InitRegisteredProtocolHandlers(); 116 virtual void InitRegisteredProtocolHandlers();
116 virtual NTPResourceCache* GetNTPResourceCache(); 117 virtual NTPResourceCache* GetNTPResourceCache();
117 virtual FilePath last_selected_directory(); 118 virtual FilePath last_selected_directory();
118 virtual void set_last_selected_directory(const FilePath& path); 119 virtual void set_last_selected_directory(const FilePath& path);
119 virtual ProfileSyncService* GetProfileSyncService(); 120 virtual ProfileSyncService* GetProfileSyncService();
120 virtual ProfileSyncService* GetProfileSyncService( 121 virtual ProfileSyncService* GetProfileSyncService(
121 const std::string& cros_user); 122 const std::string& cros_user);
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 geolocation_permission_context_; 234 geolocation_permission_context_;
234 scoped_refptr<UserStyleSheetWatcher> user_style_sheet_watcher_; 235 scoped_refptr<UserStyleSheetWatcher> user_style_sheet_watcher_;
235 scoped_ptr<FindBarState> find_bar_state_; 236 scoped_ptr<FindBarState> find_bar_state_;
236 scoped_refptr<DownloadManager> download_manager_; 237 scoped_refptr<DownloadManager> download_manager_;
237 scoped_refptr<HistoryService> history_service_; 238 scoped_refptr<HistoryService> history_service_;
238 scoped_refptr<FaviconService> favicon_service_; 239 scoped_refptr<FaviconService> favicon_service_;
239 scoped_ptr<AutocompleteClassifier> autocomplete_classifier_; 240 scoped_ptr<AutocompleteClassifier> autocomplete_classifier_;
240 scoped_refptr<WebDataService> web_data_service_; 241 scoped_refptr<WebDataService> web_data_service_;
241 scoped_refptr<PasswordStore> password_store_; 242 scoped_refptr<PasswordStore> password_store_;
242 scoped_refptr<WebKitContext> webkit_context_; 243 scoped_refptr<WebKitContext> webkit_context_;
244 scoped_ptr<StatusTray> status_tray_;
243 scoped_refptr<PersonalDataManager> personal_data_manager_; 245 scoped_refptr<PersonalDataManager> personal_data_manager_;
244 scoped_refptr<fileapi::FileSystemContext> file_system_context_; 246 scoped_refptr<fileapi::FileSystemContext> file_system_context_;
245 scoped_ptr<BrowserSignin> browser_signin_; 247 scoped_ptr<BrowserSignin> browser_signin_;
246 scoped_refptr<quota::QuotaManager> quota_manager_; 248 scoped_refptr<quota::QuotaManager> quota_manager_;
247 bool history_service_created_; 249 bool history_service_created_;
248 bool favicon_service_created_; 250 bool favicon_service_created_;
249 bool created_web_data_service_; 251 bool created_web_data_service_;
250 bool created_password_store_; 252 bool created_password_store_;
251 bool created_download_manager_; 253 bool created_download_manager_;
252 bool clear_local_state_on_exit_; 254 bool clear_local_state_on_exit_;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 299 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
298 300
299 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; 301 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_;
300 302
301 Profile::Delegate* delegate_; 303 Profile::Delegate* delegate_;
302 304
303 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 305 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
304 }; 306 };
305 307
306 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 308 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698