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

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

Issue 671183002: Revert of 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: 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 28 matching lines...) Expand all
39 39
40 class EasyUnlockService; 40 class EasyUnlockService;
41 41
42 namespace base { 42 namespace base {
43 class DictionaryValue; 43 class DictionaryValue;
44 class ListValue; 44 class ListValue;
45 } 45 }
46 46
47 namespace chromeos { 47 namespace chromeos {
48 48
49 class AuthenticatedUserEmailRetriever;
49 class CaptivePortalWindowProxy; 50 class CaptivePortalWindowProxy;
50 class CoreOobeActor; 51 class CoreOobeActor;
51 class ErrorScreensHistogramHelper; 52 class ErrorScreensHistogramHelper;
52 class GaiaScreenHandler; 53 class GaiaScreenHandler;
53 class NativeWindowDelegate; 54 class NativeWindowDelegate;
54 class SupervisedUserCreationScreenHandler; 55 class SupervisedUserCreationScreenHandler;
55 class User; 56 class User;
56 class UserContext; 57 class UserContext;
57 58
58 // Helper class to pass initial parameters to the login screen. 59 // Helper class to pass initial parameters to the login screen.
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 void HandleResyncUserData(); 388 void HandleResyncUserData();
388 void HandleLoginUIStateChanged(const std::string& source, bool new_value); 389 void HandleLoginUIStateChanged(const std::string& source, bool new_value);
389 void HandleUnlockOnLoginSuccess(); 390 void HandleUnlockOnLoginSuccess();
390 void HandleLoginScreenUpdate(); 391 void HandleLoginScreenUpdate();
391 void HandleShowLoadingTimeoutError(); 392 void HandleShowLoadingTimeoutError();
392 void HandleUpdateOfflineLogin(bool offline_login_active); 393 void HandleUpdateOfflineLogin(bool offline_login_active);
393 void HandleShowSupervisedUserCreationScreen(); 394 void HandleShowSupervisedUserCreationScreen();
394 void HandleFocusPod(const std::string& user_id); 395 void HandleFocusPod(const std::string& user_id);
395 void HandleHardlockPod(const std::string& user_id); 396 void HandleHardlockPod(const std::string& user_id);
396 void HandleLaunchKioskApp(const std::string& app_id, bool diagnostic_mode); 397 void HandleLaunchKioskApp(const std::string& app_id, bool diagnostic_mode);
398 void HandleRetrieveAuthenticatedUserEmail(double attempt_token);
397 void HandleGetPublicSessionKeyboardLayouts(const std::string& user_id, 399 void HandleGetPublicSessionKeyboardLayouts(const std::string& user_id,
398 const std::string& locale); 400 const std::string& locale);
399 void HandleCancelConsumerManagementEnrollment(); 401 void HandleCancelConsumerManagementEnrollment();
400 void HandleGetTouchViewState(); 402 void HandleGetTouchViewState();
401 void HandleSwitchToEmbeddedSignin(); 403 void HandleSwitchToEmbeddedSignin();
402 404
403 // Sends the list of |keyboard_layouts| available for the |locale| that is 405 // Sends the list of |keyboard_layouts| available for the |locale| that is
404 // currently selected for the public session identified by |user_id|. 406 // currently selected for the public session identified by |user_id|.
405 void SendPublicSessionKeyboardLayouts( 407 void SendPublicSessionKeyboardLayouts(
406 const std::string& user_id, 408 const std::string& user_id,
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 auto_enrollment_progress_subscription_; 513 auto_enrollment_progress_subscription_;
512 514
513 bool caps_lock_enabled_; 515 bool caps_lock_enabled_;
514 516
515 base::Closure kiosk_enable_flow_aborted_callback_for_test_; 517 base::Closure kiosk_enable_flow_aborted_callback_for_test_;
516 518
517 // Non-owning ptr. 519 // Non-owning ptr.
518 // TODO(ygorshenin@): remove this dependency. 520 // TODO(ygorshenin@): remove this dependency.
519 GaiaScreenHandler* gaia_screen_handler_; 521 GaiaScreenHandler* gaia_screen_handler_;
520 522
523 // Helper that retrieves the authenticated user's e-mail address.
524 scoped_ptr<AuthenticatedUserEmailRetriever> email_retriever_;
525
521 // Maximized mode controller delegate. 526 // Maximized mode controller delegate.
522 scoped_ptr<TouchViewControllerDelegate> max_mode_delegate_; 527 scoped_ptr<TouchViewControllerDelegate> max_mode_delegate_;
523 528
524 // Whether consumer management enrollment is in progress. 529 // Whether consumer management enrollment is in progress.
525 bool is_enrolling_consumer_management_; 530 bool is_enrolling_consumer_management_;
526 531
527 // Input Method Engine state used at signin screen. 532 // Input Method Engine state used at signin screen.
528 scoped_refptr<input_method::InputMethodManager::State> ime_state_; 533 scoped_refptr<input_method::InputMethodManager::State> ime_state_;
529 534
530 // This callback captures "focusPod finished" event for tests. 535 // This callback captures "focusPod finished" event for tests.
531 base::Closure test_focus_pod_callback_; 536 base::Closure test_focus_pod_callback_;
532 537
533 // True if SigninScreenHandler has already been added to OobeUI observers. 538 // True if SigninScreenHandler has already been added to OobeUI observers.
534 bool oobe_ui_observer_added_; 539 bool oobe_ui_observer_added_;
535 540
536 scoped_ptr<ErrorScreensHistogramHelper> histogram_helper_; 541 scoped_ptr<ErrorScreensHistogramHelper> histogram_helper_;
537 542
538 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; 543 base::WeakPtrFactory<SigninScreenHandler> weak_factory_;
539 544
540 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); 545 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler);
541 }; 546 };
542 547
543 } // namespace chromeos 548 } // namespace chromeos
544 549
545 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ 550 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698