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

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

Issue 10408072: Rewrite of the EnrollEnterpriseDevice PyAuto automation hook for WebUI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: std::string -> const std::string& and style fixes Created 8 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
Index: chrome/browser/chromeos/login/enrollment/enterprise_enrollment_screen_actor.h
diff --git a/chrome/browser/chromeos/login/enrollment/enterprise_enrollment_screen_actor.h b/chrome/browser/chromeos/login/enrollment/enterprise_enrollment_screen_actor.h
index 7976adc9e3bbf29dacca43872cd0071389116c99..3eaa57560c4efac0927332dfc87a60c15a2af91e 100644
--- a/chrome/browser/chromeos/login/enrollment/enterprise_enrollment_screen_actor.h
+++ b/chrome/browser/chromeos/login/enrollment/enterprise_enrollment_screen_actor.h
@@ -37,7 +37,8 @@ class EnterpriseEnrollmentScreenActor {
// Notifies observers of a change in enrollment state.
virtual void OnEnrollmentComplete(
EnterpriseEnrollmentScreenActor* enrollment_screen,
- bool succeeded) = 0;
+ bool succeeded,
+ const std::string& error_string) = 0;
};
EnterpriseEnrollmentScreenActor();
@@ -73,12 +74,9 @@ class EnterpriseEnrollmentScreenActor {
virtual void ShowAutoEnrollmentError() = 0;
virtual void ShowNetworkEnrollmentError() = 0;
- // Used for testing only.
- virtual void SubmitTestCredentials(const std::string& email,
- const std::string& password) = 0;
-
protected:
- void NotifyObservers(bool succeeded);
+ void NotifyObservers(bool succeeded,
+ const std::string& error_string);
private:
// Observers.

Powered by Google App Engine
This is Rietveld 408576698