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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/enterprise_oauth_enrollment_screen_handler.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 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_UI_WEBUI_CHROMEOS_LOGIN_ENTERPRISE_OAUTH_ENROLLMENT_SCREE N_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_ENTERPRISE_OAUTH_ENROLLMENT_SCREE N_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_ENTERPRISE_OAUTH_ENROLLMENT_SCREE N_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_ENTERPRISE_OAUTH_ENROLLMENT_SCREE N_HANDLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 virtual void Hide() OVERRIDE; 42 virtual void Hide() OVERRIDE;
43 virtual void ShowConfirmationScreen() OVERRIDE; 43 virtual void ShowConfirmationScreen() OVERRIDE;
44 virtual void ShowAuthError(const GoogleServiceAuthError& error) OVERRIDE; 44 virtual void ShowAuthError(const GoogleServiceAuthError& error) OVERRIDE;
45 virtual void ShowAccountError() OVERRIDE; 45 virtual void ShowAccountError() OVERRIDE;
46 virtual void ShowSerialNumberError() OVERRIDE; 46 virtual void ShowSerialNumberError() OVERRIDE;
47 virtual void ShowEnrollmentModeError() OVERRIDE; 47 virtual void ShowEnrollmentModeError() OVERRIDE;
48 virtual void ShowFatalAuthError() OVERRIDE; 48 virtual void ShowFatalAuthError() OVERRIDE;
49 virtual void ShowFatalEnrollmentError() OVERRIDE; 49 virtual void ShowFatalEnrollmentError() OVERRIDE;
50 virtual void ShowAutoEnrollmentError() OVERRIDE; 50 virtual void ShowAutoEnrollmentError() OVERRIDE;
51 virtual void ShowNetworkEnrollmentError() OVERRIDE; 51 virtual void ShowNetworkEnrollmentError() OVERRIDE;
52 virtual void SubmitTestCredentials(const std::string& email,
53 const std::string& password) OVERRIDE;
54 52
55 // Implements BaseScreenHandler: 53 // Implements BaseScreenHandler:
56 virtual void Initialize() OVERRIDE; 54 virtual void Initialize() OVERRIDE;
57 virtual void GetLocalizedStrings( 55 virtual void GetLocalizedStrings(
58 base::DictionaryValue* localized_strings) OVERRIDE; 56 base::DictionaryValue* localized_strings) OVERRIDE;
59 57
60 // Implements GaiaOAuthConsumer: 58 // Implements GaiaOAuthConsumer:
61 virtual void OnGetOAuthTokenFailure( 59 virtual void OnGetOAuthTokenFailure(
62 const GoogleServiceAuthError& error) OVERRIDE; 60 const GoogleServiceAuthError& error) OVERRIDE;
63 virtual void OnOAuthGetAccessTokenSuccess(const std::string& token, 61 virtual void OnOAuthGetAccessTokenSuccess(const std::string& token,
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 143
146 // What to do when browsing data is removed. 144 // What to do when browsing data is removed.
147 base::Closure action_on_browsing_data_removed_; 145 base::Closure action_on_browsing_data_removed_;
148 146
149 DISALLOW_COPY_AND_ASSIGN(EnterpriseOAuthEnrollmentScreenHandler); 147 DISALLOW_COPY_AND_ASSIGN(EnterpriseOAuthEnrollmentScreenHandler);
150 }; 148 };
151 149
152 } // namespace chromeos 150 } // namespace chromeos
153 151
154 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_ENTERPRISE_OAUTH_ENROLLMENT_SC REEN_HANDLER_H_ 152 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_ENTERPRISE_OAUTH_ENROLLMENT_SC REEN_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698