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

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

Issue 1862203005: Remove ContentBrowserClient::CreateRequestContext & CreateRequestContextForStoragePartition. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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>
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition( 89 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition(
90 const base::FilePath& partition_path, 90 const base::FilePath& partition_path,
91 bool in_memory) override; 91 bool in_memory) override;
92 content::ResourceContext* GetResourceContext() override; 92 content::ResourceContext* GetResourceContext() override;
93 content::BrowserPluginGuestManager* GetGuestManager() override; 93 content::BrowserPluginGuestManager* GetGuestManager() override;
94 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; 94 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override;
95 content::PushMessagingService* GetPushMessagingService() override; 95 content::PushMessagingService* GetPushMessagingService() override;
96 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override; 96 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override;
97 content::PermissionManager* GetPermissionManager() override; 97 content::PermissionManager* GetPermissionManager() override;
98 content::BackgroundSyncController* GetBackgroundSyncController() override; 98 content::BackgroundSyncController* GetBackgroundSyncController() override;
99 net::URLRequestContextGetter* CreateRequestContext(
100 content::ProtocolHandlerMap* protocol_handlers,
101 content::URLRequestInterceptorScopedVector request_interceptors) override;
102 net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
103 const base::FilePath& partition_path,
104 bool in_memory,
105 content::ProtocolHandlerMap* protocol_handlers,
106 content::URLRequestInterceptorScopedVector request_interceptors) override;
99 107
100 // Profile implementation: 108 // Profile implementation:
101 scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() override; 109 scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() override;
102 // Note that this implementation returns the Google-services username, if any, 110 // Note that this implementation returns the Google-services username, if any,
103 // not the Chrome user's display name. 111 // not the Chrome user's display name.
104 std::string GetProfileUserName() const override; 112 std::string GetProfileUserName() const override;
105 ProfileType GetProfileType() const override; 113 ProfileType GetProfileType() const override;
106 bool IsOffTheRecord() const override; 114 bool IsOffTheRecord() const override;
107 Profile* GetOffTheRecordProfile() override; 115 Profile* GetOffTheRecordProfile() override;
108 void DestroyOffTheRecordProfile() override; 116 void DestroyOffTheRecordProfile() override;
109 bool HasOffTheRecordProfile() override; 117 bool HasOffTheRecordProfile() override;
110 Profile* GetOriginalProfile() override; 118 Profile* GetOriginalProfile() override;
111 bool IsSupervised() const override; 119 bool IsSupervised() const override;
112 bool IsChild() const override; 120 bool IsChild() const override;
113 bool IsLegacySupervised() const override; 121 bool IsLegacySupervised() const override;
114 ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy() override; 122 ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy() override;
115 PrefService* GetPrefs() override; 123 PrefService* GetPrefs() override;
116 const PrefService* GetPrefs() const override; 124 const PrefService* GetPrefs() const override;
117 ChromeZoomLevelPrefs* GetZoomLevelPrefs() override; 125 ChromeZoomLevelPrefs* GetZoomLevelPrefs() override;
118 PrefService* GetOffTheRecordPrefs() override; 126 PrefService* GetOffTheRecordPrefs() override;
119 net::URLRequestContextGetter* GetRequestContextForExtensions() override; 127 net::URLRequestContextGetter* GetRequestContextForExtensions() override;
120 net::SSLConfigService* GetSSLConfigService() override; 128 net::SSLConfigService* GetSSLConfigService() override;
121 bool IsSameProfile(Profile* profile) override; 129 bool IsSameProfile(Profile* profile) override;
122 base::Time GetStartTime() const override; 130 base::Time GetStartTime() const override;
123 net::URLRequestContextGetter* CreateRequestContext(
124 content::ProtocolHandlerMap* protocol_handlers,
125 content::URLRequestInterceptorScopedVector request_interceptors) override;
126 net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
127 const base::FilePath& partition_path,
128 bool in_memory,
129 content::ProtocolHandlerMap* protocol_handlers,
130 content::URLRequestInterceptorScopedVector request_interceptors) override;
131 base::FilePath last_selected_directory() override; 131 base::FilePath last_selected_directory() override;
132 void set_last_selected_directory(const base::FilePath& path) override; 132 void set_last_selected_directory(const base::FilePath& path) override;
133 chrome_browser_net::Predictor* GetNetworkPredictor() override; 133 chrome_browser_net::Predictor* GetNetworkPredictor() override;
134 DevToolsNetworkControllerHandle* GetDevToolsNetworkControllerHandle() 134 DevToolsNetworkControllerHandle* GetDevToolsNetworkControllerHandle()
135 override; 135 override;
136 void ClearNetworkingHistorySince(base::Time time, 136 void ClearNetworkingHistorySince(base::Time time,
137 const base::Closure& completion) override; 137 const base::Closure& completion) override;
138 GURL GetHomePage() override; 138 GURL GetHomePage() override;
139 bool WasCreatedByVersionOrLater(const std::string& version) override; 139 bool WasCreatedByVersionOrLater(const std::string& version) override;
140 void SetExitType(ExitType exit_type) override; 140 void SetExitType(ExitType exit_type) override;
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 // components/keyed_service/content/browser_context_keyed_service_factory.* 269 // components/keyed_service/content/browser_context_keyed_service_factory.*
270 270
271 Profile::Delegate* delegate_; 271 Profile::Delegate* delegate_;
272 272
273 chrome_browser_net::Predictor* predictor_; 273 chrome_browser_net::Predictor* predictor_;
274 274
275 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 275 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
276 }; 276 };
277 277
278 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 278 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698