summaryrefslogtreecommitdiffstats
path: root/chrome/common/pref_names.cc
diff options
context:
space:
mode:
authorrkc@chromium.org <rkc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-12 09:41:43 +0000
committerrkc@chromium.org <rkc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-12 09:41:43 +0000
commiteed749bf7d3c5e06f6c16c38f9ba5ce49872f17e (patch)
treee91571c196c4f1ca3c775809d2bce0766a19c6d5 /chrome/common/pref_names.cc
parent8315a7ea58c39b668f06d695eee3b31ea652d191 (diff)
downloadchromium_src-eed749bf7d3c5e06f6c16c38f9ba5ce49872f17e.zip
chromium_src-eed749bf7d3c5e06f6c16c38f9ba5ce49872f17e.tar.gz
chromium_src-eed749bf7d3c5e06f6c16c38f9ba5ce49872f17e.tar.bz2
Add the ability to show a demo app on OOBE if a machine is derelict.
If a machine has been idle for 8 hours+, we should start showing a demo app everytime the machine is idle for 5 minutes. This CL depends on https://chrome-internal-review.googlesource.com/#/c/154276/ R=xiyuan@chromium.org, zelidrag@chromium.org BUG=336585 TEST=Use the derelict-* flags to test demo mode app launching. Review URL: https://codereview.chromium.org/156493004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250666 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/pref_names.cc')
-rw-r--r--chrome/common/pref_names.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index af9398c..0de61a1 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -892,6 +892,10 @@ const char kSAMLOfflineSigninTimeLimit[] = "saml.offline_signin_time_limit";
// cleared. The time is expressed as the serialization obtained from
// base::Time::ToInternalValue().
const char kSAMLLastGAIASignInTime[] = "saml.last_gaia_sign_in_time";
+
+// Setting used to determine if the machine is in a 'derelict' state. This is
+// determined by the time a machine spends on OOBE without any activity.
+const char kDerelictMachine[] = "settings.is_machine_derelict";
#endif // defined(OS_CHROMEOS)
// The disabled messages in IPC logging.