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

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: Changes based on Albert's review. Created 8 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 | 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 virtual GAIAInfoUpdateService* GetGAIAInfoUpdateService() OVERRIDE; 48 virtual GAIAInfoUpdateService* GetGAIAInfoUpdateService() OVERRIDE;
49 virtual policy::UserCloudPolicyManager* GetUserCloudPolicyManager() OVERRIDE; 49 virtual policy::UserCloudPolicyManager* GetUserCloudPolicyManager() OVERRIDE;
50 virtual policy::ManagedModePolicyProvider* 50 virtual policy::ManagedModePolicyProvider*
51 GetManagedModePolicyProvider() OVERRIDE; 51 GetManagedModePolicyProvider() OVERRIDE;
52 virtual policy::PolicyService* GetPolicyService() OVERRIDE; 52 virtual policy::PolicyService* GetPolicyService() OVERRIDE;
53 virtual PrefService* GetPrefs() OVERRIDE; 53 virtual PrefService* GetPrefs() OVERRIDE;
54 virtual PrefService* GetOffTheRecordPrefs() OVERRIDE; 54 virtual PrefService* GetOffTheRecordPrefs() OVERRIDE;
55 virtual net::URLRequestContextGetter* 55 virtual net::URLRequestContextGetter*
56 GetRequestContextForExtensions() OVERRIDE; 56 GetRequestContextForExtensions() OVERRIDE;
57 virtual net::URLRequestContextGetter* GetRequestContextForStoragePartition( 57 virtual net::URLRequestContextGetter* GetRequestContextForStoragePartition(
58 const std::string& partition_id) OVERRIDE; 58 const FilePath& partition_path,
59 bool in_memory) OVERRIDE;
59 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; 60 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE;
60 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; 61 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE;
61 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() OVERRIDE; 62 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() OVERRIDE;
62 virtual bool IsSameProfile(Profile* profile) OVERRIDE; 63 virtual bool IsSameProfile(Profile* profile) OVERRIDE;
63 virtual Time GetStartTime() const OVERRIDE; 64 virtual Time GetStartTime() const OVERRIDE;
64 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE; 65 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE;
65 virtual history::TopSites* GetTopSites() OVERRIDE; 66 virtual history::TopSites* GetTopSites() OVERRIDE;
66 virtual void InitPromoResources() OVERRIDE; 67 virtual void InitPromoResources() OVERRIDE;
67 virtual FilePath last_selected_directory() OVERRIDE; 68 virtual FilePath last_selected_directory() OVERRIDE;
68 virtual void set_last_selected_directory(const FilePath& path) OVERRIDE; 69 virtual void set_last_selected_directory(const FilePath& path) OVERRIDE;
(...skipping 22 matching lines...) Expand all
91 virtual content::DownloadManagerDelegate* 92 virtual content::DownloadManagerDelegate*
92 GetDownloadManagerDelegate() OVERRIDE; 93 GetDownloadManagerDelegate() OVERRIDE;
93 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; 94 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE;
94 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( 95 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess(
95 int renderer_child_id) OVERRIDE; 96 int renderer_child_id) OVERRIDE;
96 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; 97 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE;
97 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( 98 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess(
98 int renderer_child_id) OVERRIDE; 99 int renderer_child_id) OVERRIDE;
99 virtual net::URLRequestContextGetter* 100 virtual net::URLRequestContextGetter*
100 GetMediaRequestContextForStoragePartition( 101 GetMediaRequestContextForStoragePartition(
101 const std::string& partition_id) OVERRIDE; 102 const FilePath& partition_path,
103 bool in_memory) OVERRIDE;
102 virtual content::ResourceContext* GetResourceContext() OVERRIDE; 104 virtual content::ResourceContext* GetResourceContext() OVERRIDE;
103 virtual content::GeolocationPermissionContext* 105 virtual content::GeolocationPermissionContext*
104 GetGeolocationPermissionContext() OVERRIDE; 106 GetGeolocationPermissionContext() OVERRIDE;
105 virtual content::SpeechRecognitionPreferences* 107 virtual content::SpeechRecognitionPreferences*
106 GetSpeechRecognitionPreferences() OVERRIDE; 108 GetSpeechRecognitionPreferences() OVERRIDE;
107 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; 109 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE;
108 110
109 // content::NotificationObserver implementation. 111 // content::NotificationObserver implementation.
110 virtual void Observe(int type, 112 virtual void Observe(int type,
111 const content::NotificationSource& source, 113 const content::NotificationSource& source,
(...skipping 27 matching lines...) Expand all
139 Time start_time_; 141 Time start_time_;
140 142
141 FilePath last_selected_directory_; 143 FilePath last_selected_directory_;
142 144
143 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 145 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
144 146
145 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); 147 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl);
146 }; 148 };
147 149
148 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ 150 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698