Index: chrome/browser/chromeos/login/enrollment/enterprise_enrollment_screen.h |
diff --git a/chrome/browser/chromeos/login/enrollment/enterprise_enrollment_screen.h b/chrome/browser/chromeos/login/enrollment/enterprise_enrollment_screen.h |
index 525b01c23872c4e1d5fe7c0fcedfe955987aff28..113bc3216303c5a8a8d32c6e0126ee0a8a1ffa52 100644 |
--- a/chrome/browser/chromeos/login/enrollment/enterprise_enrollment_screen.h |
+++ b/chrome/browser/chromeos/login/enrollment/enterprise_enrollment_screen.h |
@@ -14,7 +14,6 @@ |
#include "chrome/browser/chromeos/login/enrollment/enterprise_enrollment_screen_actor.h" |
#include "chrome/browser/chromeos/login/wizard_screen.h" |
#include "chrome/browser/policy/cloud_policy_constants.h" |
-#include "chrome/browser/policy/cloud_policy_subsystem.h" |
namespace chromeos { |
@@ -24,8 +23,7 @@ class ScreenObserver; |
// OOBE wizard. |
class EnterpriseEnrollmentScreen |
: public WizardScreen, |
- public EnterpriseEnrollmentScreenActor::Controller, |
- public policy::CloudPolicySubsystem::Observer { |
+ public EnterpriseEnrollmentScreenActor::Controller { |
public: |
// Used in PyAuto testing. |
class TestingObserver { |
@@ -57,11 +55,6 @@ class EnterpriseEnrollmentScreen |
virtual void OnCancel() OVERRIDE; |
virtual void OnConfirmationClosed() OVERRIDE; |
- // CloudPolicySubsystem::Observer implementation: |
- virtual void OnPolicyStateChanged( |
- policy::CloudPolicySubsystem::PolicySubsystemState state, |
- policy::CloudPolicySubsystem::ErrorDetails error_details) OVERRIDE; |
- |
// Used for testing. |
EnterpriseEnrollmentScreenActor* GetActor() { |
return actor_; |
@@ -98,7 +91,6 @@ class EnterpriseEnrollmentScreen |
bool enrollment_failed_once_; |
std::string user_; |
int lockbox_init_duration_; |
- scoped_ptr<policy::CloudPolicySubsystem::ObserverRegistrar> registrar_; |
base::WeakPtrFactory<EnterpriseEnrollmentScreen> weak_ptr_factory_; |
// Observers. |