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

Side by Side Diff: chrome/browser/chromeos/login/enrollment/enterprise_enrollment_screen_actor.h

Issue 10443125: Allow re-enrollment to the same domain in case of policy data loss. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments. Created 8 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENTERPRISE_ENROLLMENT_SCREEN_AC TOR_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENTERPRISE_ENROLLMENT_SCREEN_AC TOR_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENTERPRISE_ENROLLMENT_SCREEN_AC TOR_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENTERPRISE_ENROLLMENT_SCREEN_AC TOR_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 // Show an authentication error. 66 // Show an authentication error.
67 virtual void ShowAuthError(const GoogleServiceAuthError& error) = 0; 67 virtual void ShowAuthError(const GoogleServiceAuthError& error) = 0;
68 virtual void ShowAccountError() = 0; 68 virtual void ShowAccountError() = 0;
69 virtual void ShowSerialNumberError() = 0; 69 virtual void ShowSerialNumberError() = 0;
70 virtual void ShowEnrollmentModeError() = 0; 70 virtual void ShowEnrollmentModeError() = 0;
71 virtual void ShowFatalAuthError() = 0; 71 virtual void ShowFatalAuthError() = 0;
72 virtual void ShowFatalEnrollmentError() = 0; 72 virtual void ShowFatalEnrollmentError() = 0;
73 virtual void ShowAutoEnrollmentError() = 0; 73 virtual void ShowAutoEnrollmentError() = 0;
74 virtual void ShowNetworkEnrollmentError() = 0; 74 virtual void ShowNetworkEnrollmentError() = 0;
75 virtual void ShowLockboxTimeoutError() = 0; 75 virtual void ShowLockboxTimeoutError() = 0;
76 virtual void ShowDomainMismatchError() = 0;
76 77
77 // Used for testing only. 78 // Used for testing only.
78 virtual void SubmitTestCredentials(const std::string& email, 79 virtual void SubmitTestCredentials(const std::string& email,
79 const std::string& password) = 0; 80 const std::string& password) = 0;
80 81
81 protected: 82 protected:
82 void NotifyObservers(bool succeeded); 83 void NotifyObservers(bool succeeded);
83 84
84 private: 85 private:
85 // Observers. 86 // Observers.
86 ObserverList<Observer> observer_list_; 87 ObserverList<Observer> observer_list_;
87 }; 88 };
88 89
89 } // namespace chromeos 90 } // namespace chromeos
90 91
91 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENTERPRISE_ENROLLMENT_SCREEN _ACTOR_H_ 92 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENTERPRISE_ENROLLMENT_SCREEN _ACTOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698