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

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

Issue 1320533007: Componentize ssl_config_service_manager_pref.cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolve -Wnewline-eof mac_chromium bot failure Created 5 years, 2 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
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>
11 11
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/gtest_prod_util.h" 13 #include "base/gtest_prod_util.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
16 #include "base/prefs/pref_change_registrar.h" 16 #include "base/prefs/pref_change_registrar.h"
17 #include "base/timer/timer.h" 17 #include "base/timer/timer.h"
18 #include "chrome/browser/profiles/profile.h" 18 #include "chrome/browser/profiles/profile.h"
19 #include "chrome/browser/profiles/profile_impl_io_data.h" 19 #include "chrome/browser/profiles/profile_impl_io_data.h"
20 #include "chrome/browser/ui/zoom/chrome_zoom_level_prefs.h" 20 #include "chrome/browser/ui/zoom/chrome_zoom_level_prefs.h"
21 #include "content/public/browser/content_browser_client.h" 21 #include "content/public/browser/content_browser_client.h"
22 #include "content/public/browser/host_zoom_map.h" 22 #include "content/public/browser/host_zoom_map.h"
23 23
24 class NetPrefObserver; 24 class NetPrefObserver;
25 class PrefService; 25 class PrefService;
26 26
27 class ShortcutsBackend; 27 class ShortcutsBackend;
28 class SSLConfigServiceManager;
29 class TrackedPreferenceValidationDelegate; 28 class TrackedPreferenceValidationDelegate;
30 29
31 #if defined(OS_CHROMEOS) 30 #if defined(OS_CHROMEOS)
32 namespace chromeos { 31 namespace chromeos {
33 class KioskTest; 32 class KioskTest;
34 class LocaleChangeGuard; 33 class LocaleChangeGuard;
35 class Preferences; 34 class Preferences;
36 class SupervisedUserTestBase; 35 class SupervisedUserTestBase;
37 } 36 }
38 #endif 37 #endif
39 38
40 namespace base { 39 namespace base {
41 class SequencedTaskRunner; 40 class SequencedTaskRunner;
42 } 41 }
43 42
44 namespace domain_reliability { 43 namespace domain_reliability {
45 class DomainReliabilityMonitor; 44 class DomainReliabilityMonitor;
46 } 45 }
47 46
48 namespace extensions { 47 namespace extensions {
49 class ExtensionSystem; 48 class ExtensionSystem;
50 } 49 }
51 50
52 namespace policy { 51 namespace policy {
53 class CloudPolicyManager; 52 class CloudPolicyManager;
54 class ProfilePolicyConnector; 53 class ProfilePolicyConnector;
55 class SchemaRegistryService; 54 class SchemaRegistryService;
56 } 55 }
57 56
57 namespace ssl_config {
58 class SSLConfigServiceManager;
59 }
60
58 namespace syncable_prefs { 61 namespace syncable_prefs {
59 class PrefServiceSyncable; 62 class PrefServiceSyncable;
60 } 63 }
61 64
62 namespace user_prefs { 65 namespace user_prefs {
63 class refRegistrySyncable; 66 class refRegistrySyncable;
64 } 67 }
65 68
66 // The default profile implementation. 69 // The default profile implementation.
67 class ProfileImpl : public Profile { 70 class ProfileImpl : public Profile {
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 // shall be destructed first. 232 // shall be destructed first.
230 scoped_refptr<user_prefs::PrefRegistrySyncable> pref_registry_; 233 scoped_refptr<user_prefs::PrefRegistrySyncable> pref_registry_;
231 scoped_ptr<syncable_prefs::PrefServiceSyncable> prefs_; 234 scoped_ptr<syncable_prefs::PrefServiceSyncable> prefs_;
232 scoped_ptr<syncable_prefs::PrefServiceSyncable> otr_prefs_; 235 scoped_ptr<syncable_prefs::PrefServiceSyncable> otr_prefs_;
233 ProfileImplIOData::Handle io_data_; 236 ProfileImplIOData::Handle io_data_;
234 #if defined(ENABLE_EXTENSIONS) 237 #if defined(ENABLE_EXTENSIONS)
235 scoped_refptr<ExtensionSpecialStoragePolicy> 238 scoped_refptr<ExtensionSpecialStoragePolicy>
236 extension_special_storage_policy_; 239 extension_special_storage_policy_;
237 #endif 240 #endif
238 scoped_ptr<NetPrefObserver> net_pref_observer_; 241 scoped_ptr<NetPrefObserver> net_pref_observer_;
239 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; 242 scoped_ptr<ssl_config::SSLConfigServiceManager> ssl_config_service_manager_;
240 scoped_refptr<ShortcutsBackend> shortcuts_backend_; 243 scoped_refptr<ShortcutsBackend> shortcuts_backend_;
241 244
242 // Exit type the last time the profile was opened. This is set only once from 245 // Exit type the last time the profile was opened. This is set only once from
243 // prefs. 246 // prefs.
244 ExitType last_session_exit_type_; 247 ExitType last_session_exit_type_;
245 248
246 #if defined(ENABLE_SESSION_SERVICE) 249 #if defined(ENABLE_SESSION_SERVICE)
247 base::OneShotTimer create_session_service_timer_; 250 base::OneShotTimer create_session_service_timer_;
248 #endif 251 #endif
249 252
(...skipping 25 matching lines...) Expand all
275 // components/keyed_service/content/browser_context_keyed_service_factory.* 278 // components/keyed_service/content/browser_context_keyed_service_factory.*
276 279
277 Profile::Delegate* delegate_; 280 Profile::Delegate* delegate_;
278 281
279 chrome_browser_net::Predictor* predictor_; 282 chrome_browser_net::Predictor* predictor_;
280 283
281 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 284 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
282 }; 285 };
283 286
284 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 287 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/prefs/command_line_pref_store_unittest.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698