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

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

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head again, previous had unrelated broken win_rel test. Created 8 years 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) 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 #ifndef CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ 5 #ifndef CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_
6 #define CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ 6 #define CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 28 matching lines...) Expand all
39 virtual void DestroyOffTheRecordProfile() OVERRIDE; 39 virtual void DestroyOffTheRecordProfile() OVERRIDE;
40 virtual bool HasOffTheRecordProfile() OVERRIDE; 40 virtual bool HasOffTheRecordProfile() OVERRIDE;
41 virtual Profile* GetOriginalProfile() OVERRIDE; 41 virtual Profile* GetOriginalProfile() OVERRIDE;
42 virtual ExtensionService* GetExtensionService() OVERRIDE; 42 virtual ExtensionService* GetExtensionService() OVERRIDE;
43 virtual ExtensionSpecialStoragePolicy* 43 virtual ExtensionSpecialStoragePolicy*
44 GetExtensionSpecialStoragePolicy() OVERRIDE; 44 GetExtensionSpecialStoragePolicy() OVERRIDE;
45 virtual GAIAInfoUpdateService* GetGAIAInfoUpdateService() OVERRIDE; 45 virtual GAIAInfoUpdateService* GetGAIAInfoUpdateService() OVERRIDE;
46 virtual policy::ManagedModePolicyProvider* 46 virtual policy::ManagedModePolicyProvider*
47 GetManagedModePolicyProvider() OVERRIDE; 47 GetManagedModePolicyProvider() OVERRIDE;
48 virtual policy::PolicyService* GetPolicyService() OVERRIDE; 48 virtual policy::PolicyService* GetPolicyService() OVERRIDE;
49 virtual PrefService* GetPrefs() OVERRIDE; 49 virtual PrefServiceSyncable* GetPrefs() OVERRIDE;
50 virtual PrefService* GetOffTheRecordPrefs() OVERRIDE; 50 virtual PrefServiceSyncable* GetOffTheRecordPrefs() OVERRIDE;
51 virtual net::URLRequestContextGetter* 51 virtual net::URLRequestContextGetter*
52 GetRequestContextForExtensions() OVERRIDE; 52 GetRequestContextForExtensions() OVERRIDE;
53 virtual net::URLRequestContextGetter* GetRequestContextForStoragePartition( 53 virtual net::URLRequestContextGetter* GetRequestContextForStoragePartition(
54 const FilePath& partition_path, 54 const FilePath& partition_path,
55 bool in_memory) OVERRIDE; 55 bool in_memory) OVERRIDE;
56 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; 56 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE;
57 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; 57 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE;
58 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() OVERRIDE; 58 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() OVERRIDE;
59 virtual bool IsSameProfile(Profile* profile) OVERRIDE; 59 virtual bool IsSameProfile(Profile* profile) OVERRIDE;
60 virtual Time GetStartTime() const OVERRIDE; 60 virtual Time GetStartTime() const OVERRIDE;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 122
123 virtual base::Callback<ChromeURLDataManagerBackend*(void)> 123 virtual base::Callback<ChromeURLDataManagerBackend*(void)>
124 GetChromeURLDataManagerBackendGetter() const OVERRIDE; 124 GetChromeURLDataManagerBackendGetter() const OVERRIDE;
125 125
126 content::NotificationRegistrar registrar_; 126 content::NotificationRegistrar registrar_;
127 127
128 // The real underlying profile. 128 // The real underlying profile.
129 Profile* profile_; 129 Profile* profile_;
130 130
131 // Weak pointer owned by |profile_|. 131 // Weak pointer owned by |profile_|.
132 PrefService* prefs_; 132 PrefServiceSyncable* prefs_;
133 133
134 OffTheRecordProfileIOData::Handle io_data_; 134 OffTheRecordProfileIOData::Handle io_data_;
135 135
136 // We use a non-persistent content settings map for OTR. 136 // We use a non-persistent content settings map for OTR.
137 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; 137 scoped_refptr<HostContentSettingsMap> host_content_settings_map_;
138 138
139 // Time we were started. 139 // Time we were started.
140 Time start_time_; 140 Time start_time_;
141 141
142 FilePath last_selected_directory_; 142 FilePath last_selected_directory_;
143 143
144 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 144 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
145 145
146 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); 146 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl);
147 }; 147 };
148 148
149 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ 149 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/gaia_info_update_service.cc ('k') | chrome/browser/profiles/off_the_record_profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698