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

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

Issue 8707002: Make ProfileImplIOData::Handle::GetResourceContext() imply LazyInitialize(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 11 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 dce35834f24bffb1d42166d0e4014eabd9971785..5f3676afce141666bfa135ffe692e99453712d4d 100644
--- a/chrome/browser/profiles/profile_impl_io_data.h
+++ b/chrome/browser/profiles/profile_impl_io_data.h
@@ -53,6 +53,9 @@ class ProfileImplIOData : public ProfileIOData {
base::Callback<ChromeURLDataManagerBackend*(void)>
GetChromeURLDataManagerBackendGetter() const;
const content::ResourceContext& GetResourceContext() const;
+ // GetResourceContextNoInit() does not call LazyInitialize() so it can be
+ // safely be used during initialization.
+ const content::ResourceContext& GetResourceContextNoInit() const;
scoped_refptr<ChromeURLRequestContextGetter>
GetMainRequestContextGetter() const;
scoped_refptr<ChromeURLRequestContextGetter>
« 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