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

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

Issue 12546016: Remove the Extensions URLRequestContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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_H_ 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_H_
8 #define CHROME_BROWSER_PROFILES_PROFILE_H_ 8 #define CHROME_BROWSER_PROFILES_PROFILE_H_
9 9
10 #include <string> 10 #include <string>
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 virtual PrefService* GetPrefs() = 0; 214 virtual PrefService* GetPrefs() = 0;
215 215
216 // Retrieves a pointer to the PrefService that manages the preferences 216 // Retrieves a pointer to the PrefService that manages the preferences
217 // for OffTheRecord Profiles. This PrefService is lazily created the first 217 // for OffTheRecord Profiles. This PrefService is lazily created the first
218 // time that this method is called. 218 // time that this method is called.
219 virtual PrefService* GetOffTheRecordPrefs() = 0; 219 virtual PrefService* GetOffTheRecordPrefs() = 0;
220 220
221 // Returns the main request context. 221 // Returns the main request context.
222 virtual net::URLRequestContextGetter* GetRequestContext() = 0; 222 virtual net::URLRequestContextGetter* GetRequestContext() = 0;
223 223
224 // Returns the request context used for extension-related requests. This
225 // is only used for a separate cookie store currently.
226 virtual net::URLRequestContextGetter* GetRequestContextForExtensions() = 0;
227
228 // Returns the SSLConfigService for this profile. 224 // Returns the SSLConfigService for this profile.
229 virtual net::SSLConfigService* GetSSLConfigService() = 0; 225 virtual net::SSLConfigService* GetSSLConfigService() = 0;
230 226
231 // Returns the Hostname <-> Content settings map for this profile. 227 // Returns the Hostname <-> Content settings map for this profile.
232 virtual HostContentSettingsMap* GetHostContentSettingsMap() = 0; 228 virtual HostContentSettingsMap* GetHostContentSettingsMap() = 0;
233 229
234 // Returns the ProtocolHandlerRegistry, creating if not yet created. 230 // Returns the ProtocolHandlerRegistry, creating if not yet created.
235 // TODO(smckay): replace this with access via ProtocolHandlerRegistryFactory. 231 // TODO(smckay): replace this with access via ProtocolHandlerRegistryFactory.
236 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() = 0; 232 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() = 0;
237 233
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 struct hash<Profile*> { 415 struct hash<Profile*> {
420 std::size_t operator()(Profile* const& p) const { 416 std::size_t operator()(Profile* const& p) const {
421 return reinterpret_cast<std::size_t>(p); 417 return reinterpret_cast<std::size_t>(p);
422 } 418 }
423 }; 419 };
424 420
425 } // namespace BASE_HASH_NAMESPACE 421 } // namespace BASE_HASH_NAMESPACE
426 #endif 422 #endif
427 423
428 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ 424 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698