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

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

Issue 7601013: Web Intents: Hook up the register intent InfoBar with the WebIntentsRegistry. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanups and fixes. Created 9 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) 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
11 #include "base/file_path.h" 11 #include "base/file_path.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/timer.h" 14 #include "base/timer.h"
15 #include "chrome/browser/prefs/pref_change_registrar.h" 15 #include "chrome/browser/prefs/pref_change_registrar.h"
16 #include "chrome/browser/profiles/profile.h" 16 #include "chrome/browser/profiles/profile.h"
17 #include "chrome/browser/profiles/profile_impl_io_data.h" 17 #include "chrome/browser/profiles/profile_impl_io_data.h"
18 #include "chrome/browser/spellchecker/spellcheck_host_observer.h" 18 #include "chrome/browser/spellchecker/spellcheck_host_observer.h"
19 #include "content/common/notification_observer.h" 19 #include "content/common/notification_observer.h"
20 #include "content/common/notification_registrar.h" 20 #include "content/common/notification_registrar.h"
21 21
22 class ChromeDownloadManagerDelegate; 22 class ChromeDownloadManagerDelegate;
23 class ExtensionPrefs; 23 class ExtensionPrefs;
24 class ExtensionPrefValueMap; 24 class ExtensionPrefValueMap;
25 class PrefService; 25 class PrefService;
26 class SpellCheckHostMetrics; 26 class SpellCheckHostMetrics;
27 class WebIntentsRegistry;
27 28
28 #if defined(OS_CHROMEOS) 29 #if defined(OS_CHROMEOS)
29 namespace chromeos { 30 namespace chromeos {
30 class EnterpriseExtensionObserver; 31 class EnterpriseExtensionObserver;
31 class LocaleChangeGuard; 32 class LocaleChangeGuard;
32 class Preferences; 33 class Preferences;
33 } 34 }
34 #endif 35 #endif
35 36
36 class NetPrefObserver; 37 class NetPrefObserver;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 virtual AutocompleteClassifier* GetAutocompleteClassifier(); 73 virtual AutocompleteClassifier* GetAutocompleteClassifier();
73 virtual history::ShortcutsBackend* GetShortcutsBackend(); 74 virtual history::ShortcutsBackend* GetShortcutsBackend();
74 virtual WebDataService* GetWebDataService(ServiceAccessType sat); 75 virtual WebDataService* GetWebDataService(ServiceAccessType sat);
75 virtual WebDataService* GetWebDataServiceWithoutCreating(); 76 virtual WebDataService* GetWebDataServiceWithoutCreating();
76 virtual PasswordStore* GetPasswordStore(ServiceAccessType sat); 77 virtual PasswordStore* GetPasswordStore(ServiceAccessType sat);
77 virtual PrefService* GetPrefs(); 78 virtual PrefService* GetPrefs();
78 virtual PrefService* GetOffTheRecordPrefs(); 79 virtual PrefService* GetOffTheRecordPrefs();
79 virtual TemplateURLFetcher* GetTemplateURLFetcher(); 80 virtual TemplateURLFetcher* GetTemplateURLFetcher();
80 virtual DownloadManager* GetDownloadManager(); 81 virtual DownloadManager* GetDownloadManager();
81 virtual PersonalDataManager* GetPersonalDataManager(); 82 virtual PersonalDataManager* GetPersonalDataManager();
83 virtual WebIntentsRegistry* GetWebIntentsRegistry();
82 virtual fileapi::FileSystemContext* GetFileSystemContext(); 84 virtual fileapi::FileSystemContext* GetFileSystemContext();
83 virtual quota::QuotaManager* GetQuotaManager(); 85 virtual quota::QuotaManager* GetQuotaManager();
84 virtual bool HasCreatedDownloadManager() const; 86 virtual bool HasCreatedDownloadManager() const;
85 virtual net::URLRequestContextGetter* GetRequestContext(); 87 virtual net::URLRequestContextGetter* GetRequestContext();
86 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( 88 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess(
87 int renderer_child_id); 89 int renderer_child_id);
88 virtual net::URLRequestContextGetter* GetRequestContextForMedia(); 90 virtual net::URLRequestContextGetter* GetRequestContextForMedia();
89 virtual net::URLRequestContextGetter* GetRequestContextForExtensions(); 91 virtual net::URLRequestContextGetter* GetRequestContextForExtensions();
90 virtual net::URLRequestContextGetter* GetRequestContextForIsolatedApp( 92 virtual net::URLRequestContextGetter* GetRequestContextForIsolatedApp(
91 const std::string& app_id); 93 const std::string& app_id);
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 scoped_ptr<ChromeDownloadManagerDelegate> download_manager_delegate_; 237 scoped_ptr<ChromeDownloadManagerDelegate> download_manager_delegate_;
236 scoped_refptr<DownloadManager> download_manager_; 238 scoped_refptr<DownloadManager> download_manager_;
237 scoped_refptr<HistoryService> history_service_; 239 scoped_refptr<HistoryService> history_service_;
238 scoped_refptr<FaviconService> favicon_service_; 240 scoped_refptr<FaviconService> favicon_service_;
239 scoped_ptr<AutocompleteClassifier> autocomplete_classifier_; 241 scoped_ptr<AutocompleteClassifier> autocomplete_classifier_;
240 scoped_refptr<history::ShortcutsBackend> shortcuts_backend_; 242 scoped_refptr<history::ShortcutsBackend> shortcuts_backend_;
241 scoped_refptr<WebDataService> web_data_service_; 243 scoped_refptr<WebDataService> web_data_service_;
242 scoped_refptr<PasswordStore> password_store_; 244 scoped_refptr<PasswordStore> password_store_;
243 scoped_refptr<WebKitContext> webkit_context_; 245 scoped_refptr<WebKitContext> webkit_context_;
244 scoped_refptr<PersonalDataManager> personal_data_manager_; 246 scoped_refptr<PersonalDataManager> personal_data_manager_;
247 scoped_refptr<WebIntentsRegistry> web_intents_registry_;
245 scoped_refptr<fileapi::FileSystemContext> file_system_context_; 248 scoped_refptr<fileapi::FileSystemContext> file_system_context_;
246 scoped_ptr<BrowserSignin> browser_signin_; 249 scoped_ptr<BrowserSignin> browser_signin_;
247 scoped_refptr<quota::QuotaManager> quota_manager_; 250 scoped_refptr<quota::QuotaManager> quota_manager_;
248 bool history_service_created_; 251 bool history_service_created_;
249 bool favicon_service_created_; 252 bool favicon_service_created_;
250 bool created_web_data_service_; 253 bool created_web_data_service_;
251 bool created_password_store_; 254 bool created_password_store_;
252 bool created_download_manager_; 255 bool created_download_manager_;
253 bool clear_local_state_on_exit_; 256 bool clear_local_state_on_exit_;
254 // Whether or not the last session exited cleanly. This is set only once. 257 // Whether or not the last session exited cleanly. This is set only once.
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 302 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
300 303
301 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; 304 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_;
302 305
303 Profile::Delegate* delegate_; 306 Profile::Delegate* delegate_;
304 307
305 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 308 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
306 }; 309 };
307 310
308 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 311 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698