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

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

Issue 8711003: Enable WebUI ScreenLocker for aura by abstracting lock window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make virtual constructors private and fix order of lock window initialization. Created 9 years, 1 month 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.h
diff --git a/chrome/browser/chromeos/login/screen_locker.h b/chrome/browser/chromeos/login/screen_locker.h
index 4ce02df5ebc239fc534efa171bf4f64670eb2780..7b27273c8e55f55ab9b87934a165d3ac21b40f37 100644
--- a/chrome/browser/chromeos/login/screen_locker.h
+++ b/chrome/browser/chromeos/login/screen_locker.h
@@ -34,12 +34,7 @@ class ScreenLocker : public LoginStatusConsumer {
// Returns the default instance if it has been created.
static ScreenLocker* default_screen_locker() {
-#if defined(TOOLKIT_USES_GTK)
return screen_locker_;
-#else
- NOTIMPLEMENTED();
- return NULL;
-#endif
}
// Initialize and show the screen locker.
@@ -125,10 +120,8 @@ class ScreenLocker : public LoginStatusConsumer {
// Logged in user.
const User& user_;
-#if defined(TOOLKIT_USES_GTK)
// Used to authenticate the user to unlock.
scoped_refptr<Authenticator> authenticator_;
-#endif
// Unlock the screen when it detects key/mouse event without asking
// password. True when chrome is in BWSI or auto login mode.

Powered by Google App Engine
This is Rietveld 408576698