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

Unified Diff: chrome/browser/app_mode/app_mode_utils.h

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.cc ('k') | chrome/browser/app_mode/app_mode_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/app_mode/app_mode_utils.h
diff --git a/chrome/browser/app_mode/app_mode_utils.h b/chrome/browser/app_mode/app_mode_utils.h
index 1fe9605a31545b36c80dd586cdfe72120fff652a..487b45400d44abee3f1a5a64f20820f23f5c8d3a 100644
--- a/chrome/browser/app_mode/app_mode_utils.h
+++ b/chrome/browser/app_mode/app_mode_utils.h
@@ -7,9 +7,15 @@
namespace chrome {
-// Return true if browser process is run in kiosk or forces app mode.
+// Returns true if the given browser command is allowed in app mode.
+bool IsCommandAllowedInAppMode(int command_id);
+
+// Return true if browser process is run in kiosk or forced app mode.
bool IsRunningInAppMode();
+// Return true if browser process is run in forced app mode.
+bool IsRunningInForcedAppMode();
+
} // namespace switches
#endif // CHROME_BROWSER_APP_MODE_APP_MODE_UTILS_H_
« no previous file with comments | « ash/test/test_shell_delegate.cc ('k') | chrome/browser/app_mode/app_mode_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698