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

Unified Diff: chrome/browser/ui/ash/session_state_delegate_views.cc

Issue 14295008: Add ash SessionStateDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. 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
« no previous file with comments | « chrome/browser/ui/ash/session_state_delegate_chromeos.cc ('k') | chrome/chrome_browser_ui.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/session_state_delegate_views.cc
diff --git a/chrome/browser/ui/ash/session_state_delegate_views.cc b/chrome/browser/ui/ash/session_state_delegate_views.cc
new file mode 100644
index 0000000000000000000000000000000000000000..e8e4e512b49c0b75ed6268e29448df765452391c
--- /dev/null
+++ b/chrome/browser/ui/ash/session_state_delegate_views.cc
@@ -0,0 +1,33 @@
+// Copyright (c) 2013 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.
+
+#include "chrome/browser/ui/ash/session_state_delegate.h"
+
+SessionStateDelegate::SessionStateDelegate() {
+}
+
+SessionStateDelegate::~SessionStateDelegate() {
+}
+
+bool SessionStateDelegate::HasActiveUser() const {
+ return true;
+}
+
+bool SessionStateDelegate::IsActiveUserSessionStarted() const {
+ return true;
+}
+
+bool SessionStateDelegate::CanLockScreen() const {
+ return false;
+}
+
+bool SessionStateDelegate::IsScreenLocked() const {
+ return false;
+}
+
+void SessionStateDelegate::LockScreen() {
+}
+
+void SessionStateDelegate::UnlockScreen() {
+}
« no previous file with comments | « chrome/browser/ui/ash/session_state_delegate_chromeos.cc ('k') | chrome/chrome_browser_ui.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698