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

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

Issue 6292017: Extended: Add "system" URLRequestContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 9 years, 9 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
11 #include "base/file_path.h" 11 #include "base/file_path.h"
12 #include "base/ref_counted.h" 12 #include "base/ref_counted.h"
13 #include "base/scoped_ptr.h" 13 #include "base/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/spellcheck_host_observer.h" 18 #include "chrome/browser/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 BackgroundModeManager; 22 class BackgroundModeManager;
23 class ExtensionPrefs; 23 class ExtensionPrefs;
24 class ExtensionPrefValueMap; 24 class ExtensionPrefValueMap;
25 class PrefService; 25 class PrefService;
26 26
27 #if defined(OS_CHROMEOS) 27 #if defined(OS_CHROMEOS)
28 namespace chromeos { 28 namespace chromeos {
29 class EnterpriseExtensionObserver;
30 class LocaleChangeGuard;
29 class Preferences; 31 class Preferences;
30 class LocaleChangeGuard;
31 } 32 }
32 #endif 33 #endif
33 34
34 class NetPrefObserver; 35 class NetPrefObserver;
35 36
36 // The default profile implementation. 37 // The default profile implementation.
37 class ProfileImpl : public Profile, 38 class ProfileImpl : public Profile,
38 public SpellCheckHostObserver, 39 public SpellCheckHostObserver,
39 public NotificationObserver { 40 public NotificationObserver {
40 public: 41 public:
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 virtual ChromeBlobStorageContext* GetBlobStorageContext(); 133 virtual ChromeBlobStorageContext* GetBlobStorageContext();
133 virtual ExtensionInfoMap* GetExtensionInfoMap(); 134 virtual ExtensionInfoMap* GetExtensionInfoMap();
134 virtual PromoCounter* GetInstantPromoCounter(); 135 virtual PromoCounter* GetInstantPromoCounter();
135 virtual BrowserSignin* GetBrowserSignin(); 136 virtual BrowserSignin* GetBrowserSignin();
136 virtual policy::ProfilePolicyConnector* GetPolicyConnector(); 137 virtual policy::ProfilePolicyConnector* GetPolicyConnector();
137 virtual ChromeURLDataManager* GetChromeURLDataManager(); 138 virtual ChromeURLDataManager* GetChromeURLDataManager();
138 139
139 #if defined(OS_CHROMEOS) 140 #if defined(OS_CHROMEOS)
140 virtual void ChangeAppLocale(const std::string& locale, AppLocaleChangedVia); 141 virtual void ChangeAppLocale(const std::string& locale, AppLocaleChangedVia);
141 virtual void OnLogin(); 142 virtual void OnLogin();
142 virtual chromeos::ProxyConfigServiceImpl* GetChromeOSProxyConfigServiceImpl();
143 virtual void SetupChromeOSEnterpriseExtensionObserver(); 143 virtual void SetupChromeOSEnterpriseExtensionObserver();
144 virtual void InitChromeOSPreferences(); 144 virtual void InitChromeOSPreferences();
145 #endif // defined(OS_CHROMEOS) 145 #endif // defined(OS_CHROMEOS)
146 146
147 virtual PrefProxyConfigTracker* GetProxyConfigTracker(); 147 virtual PrefProxyConfigTracker* GetProxyConfigTracker();
148 virtual prerender::PrerenderManager* GetPrerenderManager(); 148 virtual prerender::PrerenderManager* GetPrerenderManager();
149 149
150 // NotificationObserver implementation. 150 // NotificationObserver implementation.
151 virtual void Observe(NotificationType type, 151 virtual void Observe(NotificationType type,
152 const NotificationSource& source, 152 const NotificationSource& source,
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 296
297 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails. 297 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails.
298 298
299 scoped_refptr<ChromeBlobStorageContext> blob_storage_context_; 299 scoped_refptr<ChromeBlobStorageContext> blob_storage_context_;
300 300
301 scoped_refptr<ExtensionInfoMap> extension_info_map_; 301 scoped_refptr<ExtensionInfoMap> extension_info_map_;
302 302
303 #if defined(OS_CHROMEOS) 303 #if defined(OS_CHROMEOS)
304 scoped_ptr<chromeos::Preferences> chromeos_preferences_; 304 scoped_ptr<chromeos::Preferences> chromeos_preferences_;
305 305
306 scoped_refptr<chromeos::ProxyConfigServiceImpl>
307 chromeos_proxy_config_service_impl_;
308
309 scoped_ptr<chromeos::EnterpriseExtensionObserver> 306 scoped_ptr<chromeos::EnterpriseExtensionObserver>
310 chromeos_enterprise_extension_observer_; 307 chromeos_enterprise_extension_observer_;
311 308
312 scoped_ptr<chromeos::LocaleChangeGuard> locale_change_guard_; 309 scoped_ptr<chromeos::LocaleChangeGuard> locale_change_guard_;
313 #endif 310 #endif
314 311
315 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 312 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
316 313
317 scoped_refptr<prerender::PrerenderManager> prerender_manager_; 314 scoped_refptr<prerender::PrerenderManager> prerender_manager_;
318 315
319 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; 316 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_;
320 317
321 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 318 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
322 }; 319 };
323 320
324 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 321 #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