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

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

Issue 473153002: Inline sign in extracts gaia id from HTTP header and seeds account tracker (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_SIGNIN_SCREEN_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 // Updates authentication extension. Called when device settings that affect 334 // Updates authentication extension. Called when device settings that affect
335 // sign-in (allow BWSI and allow whitelist) are changed. 335 // sign-in (allow BWSI and allow whitelist) are changed.
336 void UserSettingsChanged(); 336 void UserSettingsChanged();
337 void UpdateAddButtonStatus(); 337 void UpdateAddButtonStatus();
338 338
339 // Restore input focus to current user pod. 339 // Restore input focus to current user pod.
340 void RefocusCurrentPod(); 340 void RefocusCurrentPod();
341 341
342 // WebUI message handlers. 342 // WebUI message handlers.
343 void HandleGetUsers(); 343 void HandleGetUsers();
344 void HandleAuthenticateUser(const std::string& username, 344 void HandleAuthenticateUser(const std::string& gaia_id,
345 const std::string& username,
345 const std::string& password); 346 const std::string& password);
346 void HandleAttemptUnlock(const std::string& username); 347 void HandleAttemptUnlock(const std::string& username);
347 void HandleLaunchDemoUser(); 348 void HandleLaunchDemoUser();
348 void HandleLaunchIncognito(); 349 void HandleLaunchIncognito();
349 void HandleLaunchPublicSession(const std::string& user_id, 350 void HandleLaunchPublicSession(const std::string& user_id,
350 const std::string& locale, 351 const std::string& locale,
351 const std::string& input_method); 352 const std::string& input_method);
352 void HandleOfflineLogin(const base::ListValue* args); 353 void HandleOfflineLogin(const base::ListValue* args);
353 void HandleShutdownSystem(); 354 void HandleShutdownSystem();
354 void HandleLoadWallpaper(const std::string& email); 355 void HandleLoadWallpaper(const std::string& email);
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 bool is_enrolling_consumer_management_; 503 bool is_enrolling_consumer_management_;
503 504
504 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; 505 base::WeakPtrFactory<SigninScreenHandler> weak_factory_;
505 506
506 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); 507 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler);
507 }; 508 };
508 509
509 } // namespace chromeos 510 } // namespace chromeos
510 511
511 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ 512 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698