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

Unified Diff: trunk/src/chrome/browser/ui/ash/chrome_shell_delegate_views.cc

Issue 14200034: Revert 194578 "Add ash SessionStateDelegate" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 8 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: trunk/src/chrome/browser/ui/ash/chrome_shell_delegate_views.cc
===================================================================
--- trunk/src/chrome/browser/ui/ash/chrome_shell_delegate_views.cc (revision 194588)
+++ trunk/src/chrome/browser/ui/ash/chrome_shell_delegate_views.cc (working copy)
@@ -8,10 +8,34 @@
#include "chrome/browser/ui/ash/caps_lock_delegate_views.h"
#include "chrome/browser/ui/ash/window_positioner.h"
+bool ChromeShellDelegate::IsUserLoggedIn() const {
+ return true;
+}
+
+// Returns true if we're logged in and browser has been started
+bool ChromeShellDelegate::IsSessionStarted() const {
+ return true;
+}
+
+bool ChromeShellDelegate::IsGuestSession() const {
+ return false;
+}
+
bool ChromeShellDelegate::IsFirstRunAfterBoot() const {
return false;
}
+bool ChromeShellDelegate::CanLockScreen() const {
+ return false;
+}
+
+void ChromeShellDelegate::LockScreen() {
+}
+
+bool ChromeShellDelegate::IsScreenLocked() const {
+ return false;
+}
+
void ChromeShellDelegate::PreInit() {
}

Powered by Google App Engine
This is Rietveld 408576698