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

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

Issue 44083005: policy: Remove UserCloudPolicyManagerFactory's dependency on Profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. 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/off_the_record_profile_impl.cc
diff --git a/chrome/browser/profiles/off_the_record_profile_impl.cc b/chrome/browser/profiles/off_the_record_profile_impl.cc
index ff59c5b2223f18189e40c86c1994c33d245b2571..606a1cc94a69cda0957a144fc6f2711cc223314f 100644
--- a/chrome/browser/profiles/off_the_record_profile_impl.cc
+++ b/chrome/browser/profiles/off_the_record_profile_impl.cc
@@ -101,7 +101,7 @@ OffTheRecordProfileImpl::OffTheRecordProfileImpl(Profile* real_profile)
void OffTheRecordProfileImpl::Init() {
#if defined(ENABLE_CONFIGURATION_POLICY) && !defined(OS_CHROMEOS)
- policy::UserCloudPolicyManagerFactory::RegisterForOffTheRecordProfile(
+ policy::UserCloudPolicyManagerFactory::RegisterForOffTheRecordBrowserContext(
this->GetOriginalProfile(), this);
#endif

Powered by Google App Engine
This is Rietveld 408576698