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

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

Issue 24153012: Fix cyclic dependency between ProfilePolicyConnector and PrefService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed another bug for OTRProfile. Created 7 years, 2 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
Index: chrome/browser/profiles/profile_impl_io_data.cc
diff --git a/chrome/browser/profiles/profile_impl_io_data.cc b/chrome/browser/profiles/profile_impl_io_data.cc
index 4a5958b849d5291598ad29c640e4a0dd249ccccc..89d654de1b0204e5fabe4b5501c83d008a3e6cd4 100644
--- a/chrome/browser/profiles/profile_impl_io_data.cc
+++ b/chrome/browser/profiles/profile_impl_io_data.cc
@@ -286,6 +286,17 @@ void ProfileImplIOData::Handle::ClearNetworkingHistorySince(
completion));
}
+void ProfileImplIOData::Handle::ReleaseFromBrowserContextServices(
+ Profile* profile) const {
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
+ LOG(ERROR) << "ProfileImplIOData::Handle::ReleaseFromBrowserContextServices "
+ << initialized_;
Joao da Silva 2013/10/25 11:57:10 Remove this
pneubeck (no reviews) 2013/10/25 12:17:00 Done.
+ if (!initialized_)
+ return;
+
+ io_data_->ReleaseFromBrowserContextServices(profile);
+}
+
void ProfileImplIOData::Handle::LazyInitialize() const {
if (initialized_)
return;

Powered by Google App Engine
This is Rietveld 408576698