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

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: Addressed comments. 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..0638ef15011da7ddabb9c39f09b69902de6ec2a4 100644
--- a/chrome/browser/profiles/profile_impl_io_data.cc
+++ b/chrome/browser/profiles/profile_impl_io_data.cc
@@ -286,6 +286,15 @@ void ProfileImplIOData::Handle::ClearNetworkingHistorySince(
completion));
}
+void ProfileImplIOData::Handle::ReleaseFromBrowserContextServices(
+ Profile* profile) const {
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
+ if (!initialized_)
+ return;
+
+ io_data_->ReleaseFromBrowserContextServices(profile);
+}
+
void ProfileImplIOData::Handle::LazyInitialize() const {
if (initialized_)
return;

Powered by Google App Engine
This is Rietveld 408576698