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

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

Issue 1021383002: cros: Transfer auth cookies for SAML webview sign-in. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update comment Created 5 years, 9 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 void Initialize() override; 96 void Initialize() override;
97 97
98 // WebUIMessageHandler implementation: 98 // WebUIMessageHandler implementation:
99 void RegisterMessages() override; 99 void RegisterMessages() override;
100 100
101 // WebUI message handlers. 101 // WebUI message handlers.
102 void HandleFrameLoadingCompleted(int status); 102 void HandleFrameLoadingCompleted(int status);
103 void HandleCompleteAuthentication(const std::string& gaia_id, 103 void HandleCompleteAuthentication(const std::string& gaia_id,
104 const std::string& email, 104 const std::string& email,
105 const std::string& password, 105 const std::string& password,
106 const std::string& auth_code); 106 const std::string& auth_code,
107 bool using_saml);
107 void HandleCompleteAuthenticationAuthCodeOnly(const std::string& auth_code); 108 void HandleCompleteAuthenticationAuthCodeOnly(const std::string& auth_code);
108 void HandleCompleteLogin(const std::string& gaia_id, 109 void HandleCompleteLogin(const std::string& gaia_id,
109 const std::string& typed_email, 110 const std::string& typed_email,
110 const std::string& password, 111 const std::string& password,
111 bool using_saml); 112 bool using_saml);
112 113
113 void HandleUsingSAMLAPI(); 114 void HandleUsingSAMLAPI();
114 void HandleScrapedPasswordCount(int password_count); 115 void HandleScrapedPasswordCount(int password_count);
115 void HandleScrapedPasswordVerificationFailed(); 116 void HandleScrapedPasswordVerificationFailed();
116 117
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 scoped_ptr<ScopedGaiaAuthExtension> auth_extension_; 255 scoped_ptr<ScopedGaiaAuthExtension> auth_extension_;
255 256
256 base::WeakPtrFactory<GaiaScreenHandler> weak_factory_; 257 base::WeakPtrFactory<GaiaScreenHandler> weak_factory_;
257 258
258 DISALLOW_COPY_AND_ASSIGN(GaiaScreenHandler); 259 DISALLOW_COPY_AND_ASSIGN(GaiaScreenHandler);
259 }; 260 };
260 261
261 } // namespace chromeos 262 } // namespace chromeos
262 263
263 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_GAIA_SCREEN_HANDLER_H_ 264 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_GAIA_SCREEN_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698