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

Side by Side Diff: chrome/browser/profiles/profile.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: Missed a merging of removed variable. 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 // 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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 221
222 // Returns the main request context. 222 // Returns the main request context.
223 virtual net::URLRequestContextGetter* GetRequestContext() = 0; 223 virtual net::URLRequestContextGetter* GetRequestContext() = 0;
224 224
225 // Returns the request context used for extension-related requests. This 225 // Returns the request context used for extension-related requests. This
226 // is only used for a separate cookie store currently. 226 // is only used for a separate cookie store currently.
227 virtual net::URLRequestContextGetter* GetRequestContextForExtensions() = 0; 227 virtual net::URLRequestContextGetter* GetRequestContextForExtensions() = 0;
228 228
229 // Returns the request context used within |partition_id|. 229 // Returns the request context used within |partition_id|.
230 virtual net::URLRequestContextGetter* GetRequestContextForStoragePartition( 230 virtual net::URLRequestContextGetter* GetRequestContextForStoragePartition(
231 const std::string& partition_id) = 0; 231 const FilePath& partition_path,
232 bool in_memory) = 0;
232 233
233 // Returns the SSLConfigService for this profile. 234 // Returns the SSLConfigService for this profile.
234 virtual net::SSLConfigService* GetSSLConfigService() = 0; 235 virtual net::SSLConfigService* GetSSLConfigService() = 0;
235 236
236 // Returns the Hostname <-> Content settings map for this profile. 237 // Returns the Hostname <-> Content settings map for this profile.
237 virtual HostContentSettingsMap* GetHostContentSettingsMap() = 0; 238 virtual HostContentSettingsMap* GetHostContentSettingsMap() = 0;
238 239
239 // Returns the ProtocolHandlerRegistry, creating if not yet created. 240 // Returns the ProtocolHandlerRegistry, creating if not yet created.
240 // TODO(smckay): replace this with access via ProtocolHandlerRegistryFactory. 241 // TODO(smckay): replace this with access via ProtocolHandlerRegistryFactory.
241 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() = 0; 242 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() = 0;
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 struct hash<Profile*> { 394 struct hash<Profile*> {
394 std::size_t operator()(Profile* const& p) const { 395 std::size_t operator()(Profile* const& p) const {
395 return reinterpret_cast<std::size_t>(p); 396 return reinterpret_cast<std::size_t>(p);
396 } 397 }
397 }; 398 };
398 399
399 } // namespace BASE_HASH_NAMESPACE 400 } // namespace BASE_HASH_NAMESPACE
400 #endif 401 #endif
401 402
402 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ 403 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_io_data.cc ('k') | chrome/browser/profiles/profile_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698