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

Unified Diff: chrome/browser/chromeos/login/enrollment/enterprise_enrollment_screen.h

Issue 11946017: Remove old cloud policy code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address nits. Created 7 years, 11 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/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.

Powered by Google App Engine
This is Rietveld 408576698