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

Unified Diff: ash/test/test_shell_delegate.cc

Issue 12389083: cros: Add app mode restrictions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: for comments in #3 Created 7 years, 10 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 | « ash/test/test_shell_delegate.h ('k') | chrome/browser/app_mode/app_mode_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/test_shell_delegate.cc
diff --git a/ash/test/test_shell_delegate.cc b/ash/test/test_shell_delegate.cc
index eb0d8234ebe840e9e48cef3368b5a663be18fa2c..63af2e5aac46e0fab6f5c83d3264501ab6eb0605 100644
--- a/ash/test/test_shell_delegate.cc
+++ b/ash/test/test_shell_delegate.cc
@@ -4,7 +4,7 @@
#include "ash/test/test_shell_delegate.h"
-#include <algorithm>
+#include <limits>
#include "ash/caps_lock_delegate_stub.h"
#include "ash/host/root_window_host_factory.h"
@@ -45,6 +45,10 @@ bool TestShellDelegate::IsFirstRunAfterBoot() const {
return false;
}
+bool TestShellDelegate::IsRunningInForcedAppMode() const {
+ return false;
+}
+
bool TestShellDelegate::CanLockScreen() const {
return user_logged_in_ && can_lock_screen_;
}
« no previous file with comments | « ash/test/test_shell_delegate.h ('k') | chrome/browser/app_mode/app_mode_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698