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

Unified Diff: chrome/browser/chromeos/cros_settings_names.cc

Issue 9423043: Add the protobufs for the set of session timeout policies planned for the kiosk mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated the protobuf according to the discussion and added client side binding. Created 8 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
Index: chrome/browser/chromeos/cros_settings_names.cc
diff --git a/chrome/browser/chromeos/cros_settings_names.cc b/chrome/browser/chromeos/cros_settings_names.cc
index 0c57a695c12db25543c868a3273bca40751a1a3a..c03ac36a537b89e25ba553bcfacfad69abf7cae2 100644
--- a/chrome/browser/chromeos/cros_settings_names.cc
+++ b/chrome/browser/chromeos/cros_settings_names.cc
@@ -52,4 +52,15 @@ const char kReportDeviceBootMode[] = "cros.device_status.report_boot_mode";
// "key-checksum": checksum of the extension's CRX public key, encoded in hex.
const char kAppPack[] = "cros.app_pack";
+// Parts of the ScreenSaver proto. Define the extension ID of the screen saver
Mattias Nissler (ping if slow) 2012/03/01 19:58:10 s/Define/Defines/
Mattias Nissler (ping if slow) 2012/03/01 19:58:10 s/Parts/Values from/
pastarmovj 2012/03/05 17:02:55 Done.
+// extensions and the timeout before the screen saver should be started.
+const char kScreenSaverExtensionId[] = "cros.screen_saver.extension_id";
+const char kScreenSaverTimeout[] = "cros.screen_saver.timeout";
+
+// Parts of the ForcedLogoutTimeouts proto. Define the timeouts before a user
Mattias Nissler (ping if slow) 2012/03/01 19:58:10 s/Parts/Values from/
Mattias Nissler (ping if slow) 2012/03/01 19:58:10 s/Define/Defines/
pastarmovj 2012/03/05 17:02:55 Done.
+// is logged out after some period of inactivity as well as the duration of a
+// warning message informing the user about the pending logout.
+const char kIdleLogoutTimeout[] = "cros.idle_logout.timeout";
+const char kIdleLogoutWarningDuration[] = "cros.idle_logout.warning_duration";
+
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698