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

Side by Side Diff: chrome/browser/chromeos/cros_settings_names.cc

Issue 9466005: Make sure the device recovers from policy loss in the consumer case. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Now with proper testing. Created 8 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chromeos/cros_settings_names.h" 5 #include "chrome/browser/chromeos/cros_settings_names.h"
6 6
7 namespace chromeos { 7 namespace chromeos {
8 8
9 const char kCrosSettingsPrefix[] = "cros."; 9 const char kCrosSettingsPrefix[] = "cros.";
10 10
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 // saver extension and the timeout before the screen saver should be started. 56 // saver extension and the timeout before the screen saver should be started.
57 const char kScreenSaverExtensionId[] = "cros.screen_saver.extension_id"; 57 const char kScreenSaverExtensionId[] = "cros.screen_saver.extension_id";
58 const char kScreenSaverTimeout[] = "cros.screen_saver.timeout"; 58 const char kScreenSaverTimeout[] = "cros.screen_saver.timeout";
59 59
60 // Values from the ForcedLogoutTimeouts proto. Defines the timeouts before a 60 // Values from the ForcedLogoutTimeouts proto. Defines the timeouts before a
61 // user is logged out after some period of inactivity as well as the duration of 61 // user is logged out after some period of inactivity as well as the duration of
62 // a warning message informing the user about the pending logout. 62 // a warning message informing the user about the pending logout.
63 const char kIdleLogoutTimeout[] = "cros.idle_logout.timeout"; 63 const char kIdleLogoutTimeout[] = "cros.idle_logout.timeout";
64 const char kIdleLogoutWarningDuration[] = "cros.idle_logout.warning_duration"; 64 const char kIdleLogoutWarningDuration[] = "cros.idle_logout.warning_duration";
65 65
66 // This policy should not appear in the protobuf ever but is used internally to
67 // signal that we are running in a "safe-mode" for policy recovery.
68 const char kPolicyMissingMitigationMode[] =
69 "cros.internal.policy_mitigation_mode";
66 } // namespace chromeos 70 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698