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

Side by Side Diff: chrome/browser/chromeos/login/app_launch_signin_screen.h

Issue 1066843002: Run OAuth token handle check upon user pod selction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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_CHROMEOS_LOGIN_APP_LAUNCH_SIGNIN_SCREEN_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_SIGNIN_SCREEN_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_SIGNIN_SCREEN_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_SIGNIN_SCREEN_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 virtual void ShowSigninScreenForCreds(const std::string& username, 71 virtual void ShowSigninScreenForCreds(const std::string& username,
72 const std::string& password); 72 const std::string& password);
73 const user_manager::UserList& GetUsers() const override; 73 const user_manager::UserList& GetUsers() const override;
74 bool IsShowGuest() const override; 74 bool IsShowGuest() const override;
75 bool IsShowUsers() const override; 75 bool IsShowUsers() const override;
76 bool IsSigninInProgress() const override; 76 bool IsSigninInProgress() const override;
77 bool IsUserSigninCompleted() const override; 77 bool IsUserSigninCompleted() const override;
78 void SetDisplayEmail(const std::string& email) override; 78 void SetDisplayEmail(const std::string& email) override;
79 void Signout() override; 79 void Signout() override;
80 void HandleGetUsers() override; 80 void HandleGetUsers() override;
81 void CheckUserStatus(const std::string& user_id) override;
81 82
82 // AuthStatusConsumer implementation: 83 // AuthStatusConsumer implementation:
83 void OnAuthFailure(const AuthFailure& error) override; 84 void OnAuthFailure(const AuthFailure& error) override;
84 void OnAuthSuccess(const UserContext& user_context) override; 85 void OnAuthSuccess(const UserContext& user_context) override;
85 86
86 OobeUI* oobe_ui_; 87 OobeUI* oobe_ui_;
87 Delegate* delegate_; 88 Delegate* delegate_;
88 LoginDisplayWebUIHandler* webui_handler_; 89 LoginDisplayWebUIHandler* webui_handler_;
89 scoped_refptr<Authenticator> authenticator_; 90 scoped_refptr<Authenticator> authenticator_;
90 91
91 // This list should have at most one user, and that user should be the owner. 92 // This list should have at most one user, and that user should be the owner.
92 user_manager::UserList owner_user_list_; 93 user_manager::UserList owner_user_list_;
93 94
94 static user_manager::UserManager* test_user_manager_; 95 static user_manager::UserManager* test_user_manager_;
95 96
96 DISALLOW_COPY_AND_ASSIGN(AppLaunchSigninScreen); 97 DISALLOW_COPY_AND_ASSIGN(AppLaunchSigninScreen);
97 }; 98 };
98 99
99 } // namespace chromeos 100 } // namespace chromeos
100 101
101 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_SIGNIN_SCREEN_H_ 102 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_SIGNIN_SCREEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698