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

Unified Diff: chrome/browser/chromeos/login/lock/screen_locker_tester.h

Issue 296773002: Add a Key class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/lock/screen_locker_tester.h
diff --git a/chrome/browser/chromeos/login/lock/screen_locker_tester.h b/chrome/browser/chromeos/login/lock/screen_locker_tester.h
index 7a4f7e8cd271e4da98d2a5d6343642f045d5c7ca..868a14cfe88aec0e3807430b76782643b3a2f257 100644
--- a/chrome/browser/chromeos/login/lock/screen_locker_tester.h
+++ b/chrome/browser/chromeos/login/lock/screen_locker_tester.h
@@ -15,6 +15,8 @@ class Widget;
namespace chromeos {
+class UserContext;
+
namespace test {
// ScreenLockerTester provides access to the private state/function
@@ -27,9 +29,8 @@ class ScreenLockerTester {
// Returns true if the screen is locked.
virtual bool IsLocked();
- // Injects MockAuthenticate that uses given |user| and |password|.
- virtual void InjectMockAuthenticator(const std::string& user,
- const std::string& password);
+ // Injects MockAuthenticator that uses the credentials in |user_context|.
+ virtual void InjectMockAuthenticator(const UserContext& user_context);
// Sets the password text.
virtual void SetPassword(const std::string& password) = 0;

Powered by Google App Engine
This is Rietveld 408576698