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

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

Issue 11147026: Initial refactor to get profiles to propagate storage partition details. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing Android's BrowserContext. Created 8 years, 1 month 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 virtual GAIAInfoUpdateService* GetGAIAInfoUpdateService() OVERRIDE; 45 virtual GAIAInfoUpdateService* GetGAIAInfoUpdateService() OVERRIDE;
46 virtual policy::UserCloudPolicyManager* GetUserCloudPolicyManager() OVERRIDE; 46 virtual policy::UserCloudPolicyManager* GetUserCloudPolicyManager() OVERRIDE;
47 virtual policy::ManagedModePolicyProvider* 47 virtual policy::ManagedModePolicyProvider*
48 GetManagedModePolicyProvider() OVERRIDE; 48 GetManagedModePolicyProvider() OVERRIDE;
49 virtual policy::PolicyService* GetPolicyService() OVERRIDE; 49 virtual policy::PolicyService* GetPolicyService() OVERRIDE;
50 virtual PrefService* GetPrefs() OVERRIDE; 50 virtual PrefService* GetPrefs() OVERRIDE;
51 virtual PrefService* GetOffTheRecordPrefs() OVERRIDE; 51 virtual PrefService* GetOffTheRecordPrefs() OVERRIDE;
52 virtual net::URLRequestContextGetter* 52 virtual net::URLRequestContextGetter*
53 GetRequestContextForExtensions() OVERRIDE; 53 GetRequestContextForExtensions() OVERRIDE;
54 virtual net::URLRequestContextGetter* GetRequestContextForStoragePartition( 54 virtual net::URLRequestContextGetter* GetRequestContextForStoragePartition(
55 const std::string& partition_id) OVERRIDE; 55 const FilePath& partition_path,
56 bool in_memory) OVERRIDE;
56 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; 57 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE;
57 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; 58 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE;
58 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() OVERRIDE; 59 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() OVERRIDE;
59 virtual bool IsSameProfile(Profile* profile) OVERRIDE; 60 virtual bool IsSameProfile(Profile* profile) OVERRIDE;
60 virtual Time GetStartTime() const OVERRIDE; 61 virtual Time GetStartTime() const OVERRIDE;
61 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE; 62 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE;
62 virtual history::TopSites* GetTopSites() OVERRIDE; 63 virtual history::TopSites* GetTopSites() OVERRIDE;
63 virtual void InitPromoResources() OVERRIDE; 64 virtual void InitPromoResources() OVERRIDE;
64 virtual FilePath last_selected_directory() OVERRIDE; 65 virtual FilePath last_selected_directory() OVERRIDE;
65 virtual void set_last_selected_directory(const FilePath& path) OVERRIDE; 66 virtual void set_last_selected_directory(const FilePath& path) OVERRIDE;
(...skipping 22 matching lines...) Expand all
88 virtual content::DownloadManagerDelegate* 89 virtual content::DownloadManagerDelegate*
89 GetDownloadManagerDelegate() OVERRIDE; 90 GetDownloadManagerDelegate() OVERRIDE;
90 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; 91 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE;
91 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( 92 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess(
92 int renderer_child_id) OVERRIDE; 93 int renderer_child_id) OVERRIDE;
93 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; 94 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE;
94 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( 95 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess(
95 int renderer_child_id) OVERRIDE; 96 int renderer_child_id) OVERRIDE;
96 virtual net::URLRequestContextGetter* 97 virtual net::URLRequestContextGetter*
97 GetMediaRequestContextForStoragePartition( 98 GetMediaRequestContextForStoragePartition(
98 const std::string& partition_id) OVERRIDE; 99 const FilePath& partition_path,
100 bool in_memory) OVERRIDE;
99 virtual content::ResourceContext* GetResourceContext() OVERRIDE; 101 virtual content::ResourceContext* GetResourceContext() OVERRIDE;
100 virtual content::GeolocationPermissionContext* 102 virtual content::GeolocationPermissionContext*
101 GetGeolocationPermissionContext() OVERRIDE; 103 GetGeolocationPermissionContext() OVERRIDE;
102 virtual content::SpeechRecognitionPreferences* 104 virtual content::SpeechRecognitionPreferences*
103 GetSpeechRecognitionPreferences() OVERRIDE; 105 GetSpeechRecognitionPreferences() OVERRIDE;
104 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; 106 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE;
105 107
106 // content::NotificationObserver implementation. 108 // content::NotificationObserver implementation.
107 virtual void Observe(int type, 109 virtual void Observe(int type,
108 const content::NotificationSource& source, 110 const content::NotificationSource& source,
(...skipping 27 matching lines...) Expand all
136 Time start_time_; 138 Time start_time_;
137 139
138 FilePath last_selected_directory_; 140 FilePath last_selected_directory_;
139 141
140 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 142 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
141 143
142 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); 144 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl);
143 }; 145 };
144 146
145 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ 147 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698