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

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

Issue 23449023: Add kiosk browser tests for network configuration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix flakiness Created 7 years, 3 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 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 24 matching lines...) Expand all
35 35
36 protected: 36 protected:
37 virtual ~Delegate() {} 37 virtual ~Delegate() {}
38 }; 38 };
39 39
40 AppLaunchSigninScreen(OobeUI* oobe_display, Delegate *delegate); 40 AppLaunchSigninScreen(OobeUI* oobe_display, Delegate *delegate);
41 virtual ~AppLaunchSigninScreen(); 41 virtual ~AppLaunchSigninScreen();
42 42
43 void Show(); 43 void Show();
44 44
45 static void SetUserManagerForTesting(UserManager* user_manager);
46
45 private: 47 private:
46 void InitOwnerUserList(); 48 void InitOwnerUserList();
49 UserManager* GetUserManager();
47 50
48 // SigninScreenHandlerDelegate implementation: 51 // SigninScreenHandlerDelegate implementation:
49 virtual void CancelPasswordChangedFlow() OVERRIDE; 52 virtual void CancelPasswordChangedFlow() OVERRIDE;
50 virtual void CancelUserAdding() OVERRIDE; 53 virtual void CancelUserAdding() OVERRIDE;
51 virtual void CreateAccount() OVERRIDE; 54 virtual void CreateAccount() OVERRIDE;
52 virtual void CompleteLogin(const UserContext& user_context) OVERRIDE; 55 virtual void CompleteLogin(const UserContext& user_context) OVERRIDE;
53 virtual void Login(const UserContext& user_context) OVERRIDE; 56 virtual void Login(const UserContext& user_context) OVERRIDE;
54 virtual void LoginAsRetailModeUser() OVERRIDE; 57 virtual void LoginAsRetailModeUser() OVERRIDE;
55 virtual void LoginAsGuest() OVERRIDE; 58 virtual void LoginAsGuest() OVERRIDE;
56 virtual void MigrateUserData(const std::string& old_password) OVERRIDE; 59 virtual void MigrateUserData(const std::string& old_password) OVERRIDE;
(...skipping 29 matching lines...) Expand all
86 bool using_oauth) OVERRIDE; 89 bool using_oauth) OVERRIDE;
87 90
88 OobeUI* oobe_ui_; 91 OobeUI* oobe_ui_;
89 Delegate* delegate_; 92 Delegate* delegate_;
90 LoginDisplayWebUIHandler* webui_handler_; 93 LoginDisplayWebUIHandler* webui_handler_;
91 scoped_refptr<Authenticator> authenticator_; 94 scoped_refptr<Authenticator> authenticator_;
92 95
93 // This list should have at most one user, and that user should be the owner. 96 // This list should have at most one user, and that user should be the owner.
94 UserList owner_user_list_; 97 UserList owner_user_list_;
95 98
99 static UserManager* test_user_manager_;
100
96 DISALLOW_COPY_AND_ASSIGN(AppLaunchSigninScreen); 101 DISALLOW_COPY_AND_ASSIGN(AppLaunchSigninScreen);
97 }; 102 };
98 103
99 } // namespace chromeos 104 } // namespace chromeos
100 105
101 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_SIGNIN_SCREEN_H_ 106 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_SIGNIN_SCREEN_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/app_launch_controller.cc ('k') | chrome/browser/chromeos/login/app_launch_signin_screen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698