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

Unified Diff: chrome/browser/chromeos/login/existing_user_controller.h

Issue 16254003: WIP (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/chromeos/login/existing_user_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/existing_user_controller.h
diff --git a/chrome/browser/chromeos/login/existing_user_controller.h b/chrome/browser/chromeos/login/existing_user_controller.h
index 1de2597abf29d124001ea68b7bb7f569ccf86b05..6ec190e1985cf16aa4f38871b50c05fbccef39f2 100644
--- a/chrome/browser/chromeos/login/existing_user_controller.h
+++ b/chrome/browser/chromeos/login/existing_user_controller.h
@@ -20,6 +20,7 @@
#include "chrome/browser/chromeos/login/login_utils.h"
#include "chrome/browser/chromeos/login/user.h"
#include "chrome/browser/chromeos/settings/device_settings_service.h"
+#include "chrome/browser/policy/policy_change_watcher.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
#include "googleurl/src/gurl.h"
@@ -37,10 +38,12 @@ class LoginDisplayHost;
// all login UI implementation.
// ExistingUserController maintains it's own life cycle and deletes itself when
// the user logs in (or chooses to see other settings).
-class ExistingUserController : public LoginDisplay::Delegate,
- public content::NotificationObserver,
- public LoginPerformer::Delegate,
- public LoginUtils::Delegate {
+class ExistingUserController
+ : public LoginDisplay::Delegate,
+ public content::NotificationObserver,
+ public LoginPerformer::Delegate,
+ public LoginUtils::Delegate,
+ public policy::DevicePolicyChangeWatcher::Observer {
public:
// All UI initialization is deferred till Init() call.
explicit ExistingUserController(LoginDisplayHost* host);
@@ -88,6 +91,11 @@ class ExistingUserController : public LoginDisplay::Delegate,
const content::NotificationSource& source,
const content::NotificationDetails& details) OVERRIDE;
+ // DevicePolicyChangeWatcher::Observer implementation.
+ virtual void OnDevicePolicyStatusChanged(
+ const std::vector<std::string>&
+ users_with_changed_device_policy) OVERRIDE;
+
// Set a delegate that we will pass LoginStatusConsumer events to.
// Used for testing.
void set_login_status_consumer(LoginStatusConsumer* consumer) {
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/chromeos/login/existing_user_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698