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

Unified Diff: chrome/browser/managed_mode/managed_user_service.h

Issue 22677002: Notify ThemeService via callback when supervised user is ready. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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/managed_mode/managed_user_service.h
diff --git a/chrome/browser/managed_mode/managed_user_service.h b/chrome/browser/managed_mode/managed_user_service.h
index 0d01b6c3446a93fa0dc2c36fe955a54b9ecba5da..d63d6d5ed35ad8f794464eef9bcd6a7e96dad5bf 100644
--- a/chrome/browser/managed_mode/managed_user_service.h
+++ b/chrome/browser/managed_mode/managed_user_service.h
@@ -141,6 +141,8 @@ class ManagedUserService : public BrowserContextKeyedService,
void AddNavigationBlockedCallback(const NavigationBlockedCallback& callback);
void DidBlockNavigation(content::WebContents* web_contents);
+ void AddManagedUserInitCallback(const base::Closure& callback);
Bernhard Bauer 2013/08/08 15:12:45 Nit: Talking about "managed user" probably isn't n
Adrian Kuegel 2013/08/08 15:26:35 Done.
+
// extensions::ManagementPolicy::Provider implementation:
virtual std::string GetDebugPolicyProviderName() const OVERRIDE;
virtual bool UserMayLoad(const extensions::Extension* extension,
@@ -254,6 +256,8 @@ class ManagedUserService : public BrowserContextKeyedService,
bool waiting_for_sync_initialization_;
bool is_profile_active_;
+ std::vector<base::Closure> managed_user_init_callbacks_;
+
std::vector<NavigationBlockedCallback> navigation_blocked_callbacks_;
// Sets a profile in elevated state for testing if set to true.
« no previous file with comments | « no previous file | chrome/browser/managed_mode/managed_user_service.cc » ('j') | chrome/browser/themes/theme_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698