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

Unified Diff: chrome/browser/profiles/profile_impl_io_data.h

Issue 6825038: Create a content::ResourceContext. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix test. Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/browser/profiles/profile_impl_io_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_impl_io_data.h
diff --git a/chrome/browser/profiles/profile_impl_io_data.h b/chrome/browser/profiles/profile_impl_io_data.h
index 4210040e081fb0e0a59041d477ac04212b07b6b4..08dc2050ad4756d7dc343836d8b3236a4f24c1b9 100644
--- a/chrome/browser/profiles/profile_impl_io_data.h
+++ b/chrome/browser/profiles/profile_impl_io_data.h
@@ -39,6 +39,7 @@ class ProfileImplIOData : public ProfileIOData {
const FilePath& extensions_cookie_path,
const FilePath& app_path);
+ const content::ResourceContext& GetResourceContext() const;
scoped_refptr<ChromeURLRequestContextGetter>
GetMainRequestContextGetter() const;
scoped_refptr<ChromeURLRequestContextGetter>
@@ -98,8 +99,6 @@ class ProfileImplIOData : public ProfileIOData {
int media_cache_max_size;
FilePath extensions_cookie_path;
IOThread* io_thread;
-
- ProfileParams profile_params;
};
typedef base::hash_map<std::string, net::HttpTransactionFactory* >
@@ -109,7 +108,7 @@ class ProfileImplIOData : public ProfileIOData {
virtual ~ProfileImplIOData();
// Lazily initializes ProfileImplIOData.
- virtual void LazyInitializeInternal() const;
+ virtual void LazyInitializeInternal(ProfileParams* profile_params) const;
virtual scoped_refptr<RequestContext> InitializeAppRequestContext(
scoped_refptr<ChromeURLRequestContext> main_context,
const std::string& app_id) const;
@@ -142,7 +141,7 @@ class ProfileImplIOData : public ProfileIOData {
// Parameters needed for isolated apps.
FilePath app_path_;
- bool clear_local_state_on_exit_;
+ mutable bool clear_local_state_on_exit_;
DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData);
};
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/browser/profiles/profile_impl_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698