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

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

Issue 286933002: [cros login] Split login related classes into subfolders. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix includes in new tests 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/screen_locker_tester.h
diff --git a/chrome/browser/chromeos/login/screen_locker_tester.h b/chrome/browser/chromeos/login/screen_locker_tester.h
deleted file mode 100644
index d8ebc380627eb201fe1f4f79740152c574444074..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/login/screen_locker_tester.h
+++ /dev/null
@@ -1,56 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_LOCKER_TESTER_H_
-#define CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_LOCKER_TESTER_H_
-
-#include <string>
-
-#include "base/basictypes.h"
-
-namespace views {
-class Widget;
-} // namespace views
-
-namespace chromeos {
-
-namespace test {
-
-// ScreenLockerTester provides access to the private state/function
-// of ScreenLocker class. Used to implement unit tests.
-class ScreenLockerTester {
- public:
- ScreenLockerTester();
- virtual ~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);
-
- // Sets the password text.
- virtual void SetPassword(const std::string& password) = 0;
-
- // Gets the password text.
- virtual std::string GetPassword() = 0;
-
- // Emulates entring a password.
- virtual void EnterPassword(const std::string& password) = 0;
-
- // Emulates the ready message from window manager.
- virtual void EmulateWindowManagerReady() = 0;
-
- // Returns the widget for screen locker window.
- virtual views::Widget* GetWidget() const = 0;
-
- virtual views::Widget* GetChildWidget() const = 0;
-};
-
-} // namespace test
-
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_LOCKER_TESTER_H_
« no previous file with comments | « chrome/browser/chromeos/login/screen_locker_delegate.cc ('k') | chrome/browser/chromeos/login/screen_locker_tester.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698