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

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

Issue 187223003: Allow content layer to pass ProtocolInterceptors when we create URLRequestContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 // 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 GetExtensionSpecialStoragePolicy() OVERRIDE; 117 GetExtensionSpecialStoragePolicy() OVERRIDE;
118 virtual PrefService* GetPrefs() OVERRIDE; 118 virtual PrefService* GetPrefs() OVERRIDE;
119 virtual PrefService* GetOffTheRecordPrefs() OVERRIDE; 119 virtual PrefService* GetOffTheRecordPrefs() OVERRIDE;
120 virtual net::URLRequestContextGetter* 120 virtual net::URLRequestContextGetter*
121 GetRequestContextForExtensions() OVERRIDE; 121 GetRequestContextForExtensions() OVERRIDE;
122 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; 122 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE;
123 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; 123 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE;
124 virtual bool IsSameProfile(Profile* profile) OVERRIDE; 124 virtual bool IsSameProfile(Profile* profile) OVERRIDE;
125 virtual base::Time GetStartTime() const OVERRIDE; 125 virtual base::Time GetStartTime() const OVERRIDE;
126 virtual net::URLRequestContextGetter* CreateRequestContext( 126 virtual net::URLRequestContextGetter* CreateRequestContext(
127 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; 127 content::ProtocolHandlerMap* protocol_handlers,
128 content::ProtocolHandlerScopedVector protocol_interceptors) OVERRIDE;
128 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( 129 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
129 const base::FilePath& partition_path, 130 const base::FilePath& partition_path,
130 bool in_memory, 131 bool in_memory,
131 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; 132 content::ProtocolHandlerMap* protocol_handlers,
133 content::ProtocolHandlerScopedVector protocol_interceptors) OVERRIDE;
132 virtual base::FilePath last_selected_directory() OVERRIDE; 134 virtual base::FilePath last_selected_directory() OVERRIDE;
133 virtual void set_last_selected_directory(const base::FilePath& path) OVERRIDE; 135 virtual void set_last_selected_directory(const base::FilePath& path) OVERRIDE;
134 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; 136 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE;
135 virtual void ClearNetworkingHistorySince( 137 virtual void ClearNetworkingHistorySince(
136 base::Time time, 138 base::Time time,
137 const base::Closure& completion) OVERRIDE; 139 const base::Closure& completion) OVERRIDE;
138 virtual GURL GetHomePage() OVERRIDE; 140 virtual GURL GetHomePage() OVERRIDE;
139 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; 141 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE;
140 virtual void SetExitType(ExitType exit_type) OVERRIDE; 142 virtual void SetExitType(ExitType exit_type) OVERRIDE;
141 virtual ExitType GetLastSessionExitType() OVERRIDE; 143 virtual ExitType GetLastSessionExitType() OVERRIDE;
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 // components/browser_context_keyed_service/browser_context_keyed_service_fa ctory.{h,cc} 282 // components/browser_context_keyed_service/browser_context_keyed_service_fa ctory.{h,cc}
281 283
282 Profile::Delegate* delegate_; 284 Profile::Delegate* delegate_;
283 285
284 chrome_browser_net::Predictor* predictor_; 286 chrome_browser_net::Predictor* predictor_;
285 287
286 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 288 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
287 }; 289 };
288 290
289 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 291 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698