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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h

Issue 606083002: patch from issue 473153002 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix saml Created 6 years, 2 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_GAIA_SCREEN_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_GAIA_SCREEN_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_GAIA_SCREEN_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_GAIA_SCREEN_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 84
85 // BaseScreenHandler implementation: 85 // BaseScreenHandler implementation:
86 virtual void DeclareLocalizedValues(LocalizedValuesBuilder* builder) OVERRIDE; 86 virtual void DeclareLocalizedValues(LocalizedValuesBuilder* builder) OVERRIDE;
87 virtual void Initialize() OVERRIDE; 87 virtual void Initialize() OVERRIDE;
88 88
89 // WebUIMessageHandler implementation: 89 // WebUIMessageHandler implementation:
90 virtual void RegisterMessages() OVERRIDE; 90 virtual void RegisterMessages() OVERRIDE;
91 91
92 // WebUI message handlers. 92 // WebUI message handlers.
93 void HandleFrameLoadingCompleted(int status); 93 void HandleFrameLoadingCompleted(int status);
94 void HandleCompleteAuthentication(const std::string& email, 94 void HandleCompleteAuthentication(const std::string& gaia_id,
95 const std::string& email,
95 const std::string& password, 96 const std::string& password,
96 const std::string& auth_code); 97 const std::string& auth_code);
97 void HandleCompleteLogin(const std::string& typed_email, 98 void HandleCompleteLogin(const std::string& gaia_id,
99 const std::string& typed_email,
98 const std::string& password, 100 const std::string& password,
99 bool using_saml); 101 bool using_saml);
100 102
101 void HandleUsingSAMLAPI(); 103 void HandleUsingSAMLAPI();
102 void HandleScrapedPasswordCount(int password_count); 104 void HandleScrapedPasswordCount(int password_count);
103 void HandleScrapedPasswordVerificationFailed(); 105 void HandleScrapedPasswordVerificationFailed();
104 106
105 void HandleGaiaUIReady(); 107 void HandleGaiaUIReady();
106 108
107 // This is called when ConsumerManagementService::SetOwner() returns. 109 // This is called when ConsumerManagementService::SetOwner() returns.
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 SigninScreenHandler* signin_screen_handler_; 223 SigninScreenHandler* signin_screen_handler_;
222 224
223 base::WeakPtrFactory<GaiaScreenHandler> weak_factory_; 225 base::WeakPtrFactory<GaiaScreenHandler> weak_factory_;
224 226
225 DISALLOW_COPY_AND_ASSIGN(GaiaScreenHandler); 227 DISALLOW_COPY_AND_ASSIGN(GaiaScreenHandler);
226 }; 228 };
227 229
228 } // namespace chromeos 230 } // namespace chromeos
229 231
230 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_GAIA_SCREEN_HANDLER_H_ 232 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_GAIA_SCREEN_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698