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

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

Issue 7967024: Profile shouldn't own PersonalDataManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addresses isherman #11 Created 9 years, 3 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) 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 virtual HistoryService* GetHistoryServiceWithoutCreating(); 69 virtual HistoryService* GetHistoryServiceWithoutCreating();
70 virtual AutocompleteClassifier* GetAutocompleteClassifier(); 70 virtual AutocompleteClassifier* GetAutocompleteClassifier();
71 virtual history::ShortcutsBackend* GetShortcutsBackend(); 71 virtual history::ShortcutsBackend* GetShortcutsBackend();
72 virtual WebDataService* GetWebDataService(ServiceAccessType sat); 72 virtual WebDataService* GetWebDataService(ServiceAccessType sat);
73 virtual WebDataService* GetWebDataServiceWithoutCreating(); 73 virtual WebDataService* GetWebDataServiceWithoutCreating();
74 virtual PasswordStore* GetPasswordStore(ServiceAccessType sat); 74 virtual PasswordStore* GetPasswordStore(ServiceAccessType sat);
75 virtual PrefService* GetPrefs(); 75 virtual PrefService* GetPrefs();
76 virtual PrefService* GetOffTheRecordPrefs(); 76 virtual PrefService* GetOffTheRecordPrefs();
77 virtual TemplateURLFetcher* GetTemplateURLFetcher(); 77 virtual TemplateURLFetcher* GetTemplateURLFetcher();
78 virtual DownloadManager* GetDownloadManager(); 78 virtual DownloadManager* GetDownloadManager();
79 virtual PersonalDataManager* GetPersonalDataManager();
80 virtual fileapi::FileSystemContext* GetFileSystemContext(); 79 virtual fileapi::FileSystemContext* GetFileSystemContext();
81 virtual quota::QuotaManager* GetQuotaManager(); 80 virtual quota::QuotaManager* GetQuotaManager();
82 virtual bool HasCreatedDownloadManager() const; 81 virtual bool HasCreatedDownloadManager() const;
83 virtual net::URLRequestContextGetter* GetRequestContext(); 82 virtual net::URLRequestContextGetter* GetRequestContext();
84 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( 83 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess(
85 int renderer_child_id); 84 int renderer_child_id);
86 virtual net::URLRequestContextGetter* GetRequestContextForMedia(); 85 virtual net::URLRequestContextGetter* GetRequestContextForMedia();
87 virtual net::URLRequestContextGetter* GetRequestContextForExtensions(); 86 virtual net::URLRequestContextGetter* GetRequestContextForExtensions();
88 virtual net::URLRequestContextGetter* GetRequestContextForIsolatedApp( 87 virtual net::URLRequestContextGetter* GetRequestContextForIsolatedApp(
89 const std::string& app_id); 88 const std::string& app_id);
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 scoped_ptr<FindBarState> find_bar_state_; 230 scoped_ptr<FindBarState> find_bar_state_;
232 scoped_refptr<ChromeDownloadManagerDelegate> download_manager_delegate_; 231 scoped_refptr<ChromeDownloadManagerDelegate> download_manager_delegate_;
233 scoped_refptr<DownloadManager> download_manager_; 232 scoped_refptr<DownloadManager> download_manager_;
234 scoped_refptr<HistoryService> history_service_; 233 scoped_refptr<HistoryService> history_service_;
235 scoped_ptr<FaviconService> favicon_service_; 234 scoped_ptr<FaviconService> favicon_service_;
236 scoped_ptr<AutocompleteClassifier> autocomplete_classifier_; 235 scoped_ptr<AutocompleteClassifier> autocomplete_classifier_;
237 scoped_refptr<history::ShortcutsBackend> shortcuts_backend_; 236 scoped_refptr<history::ShortcutsBackend> shortcuts_backend_;
238 scoped_refptr<WebDataService> web_data_service_; 237 scoped_refptr<WebDataService> web_data_service_;
239 scoped_refptr<PasswordStore> password_store_; 238 scoped_refptr<PasswordStore> password_store_;
240 scoped_refptr<WebKitContext> webkit_context_; 239 scoped_refptr<WebKitContext> webkit_context_;
241 scoped_refptr<PersonalDataManager> personal_data_manager_;
242 scoped_refptr<fileapi::FileSystemContext> file_system_context_; 240 scoped_refptr<fileapi::FileSystemContext> file_system_context_;
243 scoped_refptr<quota::QuotaManager> quota_manager_; 241 scoped_refptr<quota::QuotaManager> quota_manager_;
244 bool history_service_created_; 242 bool history_service_created_;
245 bool favicon_service_created_; 243 bool favicon_service_created_;
246 bool created_web_data_service_; 244 bool created_web_data_service_;
247 bool created_password_store_; 245 bool created_password_store_;
248 bool created_download_manager_; 246 bool created_download_manager_;
249 bool clear_local_state_on_exit_; 247 bool clear_local_state_on_exit_;
250 // Whether or not the last session exited cleanly. This is set only once. 248 // Whether or not the last session exited cleanly. This is set only once.
251 bool last_session_exited_cleanly_; 249 bool last_session_exited_cleanly_;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; 290 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_;
293 291
294 Profile::Delegate* delegate_; 292 Profile::Delegate* delegate_;
295 293
296 chrome_browser_net::Predictor* predictor_; 294 chrome_browser_net::Predictor* predictor_;
297 295
298 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 296 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
299 }; 297 };
300 298
301 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 299 #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