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

Unified Diff: chrome/browser/ui/webui/options/supervised_user_import_handler.h

Issue 1123283011: Use ScopedObserver to observe the SupervisedUserSyncService in SupervisedUserImportHandler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/ui/webui/options/supervised_user_import_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/options/supervised_user_import_handler.h
diff --git a/chrome/browser/ui/webui/options/supervised_user_import_handler.h b/chrome/browser/ui/webui/options/supervised_user_import_handler.h
index 0553f88a2748420c909e1b89458b0ea029e88771..0aa9fcaafaff6af0ad51e913548998ab625dbe37 100644
--- a/chrome/browser/ui/webui/options/supervised_user_import_handler.h
+++ b/chrome/browser/ui/webui/options/supervised_user_import_handler.h
@@ -22,6 +22,7 @@ class ListValue;
}
class ProfileInfoCache;
+class SupervisedUserSyncService;
namespace options {
@@ -100,6 +101,8 @@ class SupervisedUserImportHandler : public OptionsPageUIHandler,
profile_observer_;
ScopedObserver<SigninErrorController, SupervisedUserImportHandler>
signin_error_observer_;
+ ScopedObserver<SupervisedUserSyncService, SupervisedUserImportHandler>
+ supervised_user_sync_service_observer_;
bool removed_profile_is_supervised_;
« no previous file with comments | « no previous file | chrome/browser/ui/webui/options/supervised_user_import_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698