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

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

Issue 156493004: Add the ability to show a demo app on OOBE if a machine is derelict. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_MOCK_AUTHENTICATOR_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "chrome/browser/chromeos/login/authenticator.h" 10 #include "chrome/browser/chromeos/login/authenticator.h"
(...skipping 20 matching lines...) Expand all
31 31
32 virtual void AuthenticateToLogin(Profile* profile, 32 virtual void AuthenticateToLogin(Profile* profile,
33 const UserContext& user_context) OVERRIDE; 33 const UserContext& user_context) OVERRIDE;
34 34
35 virtual void AuthenticateToUnlock(const UserContext& user_context) OVERRIDE; 35 virtual void AuthenticateToUnlock(const UserContext& user_context) OVERRIDE;
36 36
37 virtual void LoginAsLocallyManagedUser( 37 virtual void LoginAsLocallyManagedUser(
38 const UserContext& user_context) OVERRIDE; 38 const UserContext& user_context) OVERRIDE;
39 virtual void LoginRetailMode() OVERRIDE; 39 virtual void LoginRetailMode() OVERRIDE;
40 virtual void LoginAsPublicAccount(const std::string& username) OVERRIDE; 40 virtual void LoginAsPublicAccount(const std::string& username) OVERRIDE;
41 virtual void LoginAsKioskAccount(const std::string& app_user_id) OVERRIDE; 41 virtual void LoginAsKioskAccount(
42 const std::string& app_user_id, bool force_ephemeral) OVERRIDE;
bartfab (slow) 2014/02/13 19:51:53 This violates the style guide. Either the entire d
rkc 2014/02/13 23:22:01 Done.
42 virtual void LoginOffTheRecord() OVERRIDE; 43 virtual void LoginOffTheRecord() OVERRIDE;
43 44
44 virtual void OnRetailModeLoginSuccess() OVERRIDE; 45 virtual void OnRetailModeLoginSuccess() OVERRIDE;
45 46
46 virtual void OnLoginSuccess() OVERRIDE; 47 virtual void OnLoginSuccess() OVERRIDE;
47 48
48 virtual void OnLoginFailure(const LoginFailure& failure) OVERRIDE; 49 virtual void OnLoginFailure(const LoginFailure& failure) OVERRIDE;
49 50
50 virtual void RecoverEncryptedData( 51 virtual void RecoverEncryptedData(
51 const std::string& old_password) OVERRIDE {} 52 const std::string& old_password) OVERRIDE {}
52 53
53 virtual void ResyncEncryptedData() OVERRIDE {} 54 virtual void ResyncEncryptedData() OVERRIDE {}
54 55
55 virtual void SetExpectedCredentials(const std::string& expected_username, 56 virtual void SetExpectedCredentials(const std::string& expected_username,
56 const std::string& expected_password); 57 const std::string& expected_password);
57 58
58 protected: 59 protected:
59 virtual ~MockAuthenticator() {} 60 virtual ~MockAuthenticator() {}
60 61
61 private: 62 private:
62 std::string expected_username_; 63 std::string expected_username_;
63 std::string expected_password_; 64 std::string expected_password_;
64 65
65 DISALLOW_COPY_AND_ASSIGN(MockAuthenticator); 66 DISALLOW_COPY_AND_ASSIGN(MockAuthenticator);
66 }; 67 };
67 68
68 } // namespace chromeos 69 } // namespace chromeos
69 70
70 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_ 71 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698