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

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

Issue 23868042: Mark supervised profiles as such immediately when they're created. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 3 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.cc
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
index c9ace166cf4ba495faf52b21a5d3df78b3253c79..138955ec40ec3024917030498c67a55b1c189710 100644
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
@@ -750,6 +750,9 @@ ExtensionSpecialStoragePolicy*
void ProfileImpl::OnPrefsLoaded(bool success) {
TRACE_EVENT0("browser", "ProfileImpl::OnPrefsLoaded")
+ if (delegate_)
+ delegate_->OnPrefsLoaded(this);
+
if (!success) {
if (delegate_)
delegate_->OnProfileCreated(this, false, false);

Powered by Google App Engine
This is Rietveld 408576698