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

Side by Side Diff: chrome/common/pref_names.cc

Issue 10103029: Add device location reporting (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Nits addressed. Created 8 years, 7 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
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 8
9 namespace prefs { 9 namespace prefs {
10 10
(...skipping 1637 matching lines...) Expand 10 before | Expand all | Expand 10 after
1648 // it's not the default value; otherwise, no auto-enrollment decision has been 1648 // it's not the default value; otherwise, no auto-enrollment decision has been
1649 // made yet. 1649 // made yet.
1650 const char kShouldAutoEnroll[] = "ShouldAutoEnroll"; 1650 const char kShouldAutoEnroll[] = "ShouldAutoEnroll";
1651 1651
1652 // An integer pref with the maximum number of bits used by the client in a 1652 // An integer pref with the maximum number of bits used by the client in a
1653 // previous auto-enrollment request. If the client goes through an auto update 1653 // previous auto-enrollment request. If the client goes through an auto update
1654 // during OOBE and reboots into a version of the OS with a larger maximum 1654 // during OOBE and reboots into a version of the OS with a larger maximum
1655 // modulus, then it will retry auto-enrollment using the updated value. 1655 // modulus, then it will retry auto-enrollment using the updated value.
1656 const char kAutoEnrollmentPowerLimit[] = "AutoEnrollmentPowerLimit"; 1656 const char kAutoEnrollmentPowerLimit[] = "AutoEnrollmentPowerLimit";
1657 1657
1658 // A boolean pref that indicates whether OS & firmware version info should be
1659 // reported along with device policy requests.
1660 const char kReportDeviceVersionInfo[] = "device_status.report_version_info";
1661
1662 // A boolean pref that indicates whether device activity times should be
1663 // recorded and reported along with device policy requests.
1664 const char kReportDeviceActivityTimes[] = "device_status.report_activity_times";
1665
1666 // The local state pref that stores device activity times before reporting 1658 // The local state pref that stores device activity times before reporting
1667 // them to the policy server. 1659 // them to the policy server.
1668 extern const char kDeviceActivityTimes[] = "device_status.activity_times"; 1660 const char kDeviceActivityTimes[] = "device_status.activity_times";
1661
1662 // A pref holding the last known location when device location reporting is
1663 // enabled.
1664 const char kDeviceLocation[] = "device_status.location";
1669 1665
1670 // A string that is used to store first-time sync startup after once sync is 1666 // A string that is used to store first-time sync startup after once sync is
1671 // disabled. This will be refreshed every sign-in. 1667 // disabled. This will be refreshed every sign-in.
1672 const char kSyncSpareBootstrapToken[] = "sync.spare_bootstrap_token"; 1668 const char kSyncSpareBootstrapToken[] = "sync.spare_bootstrap_token";
1673 #endif 1669 #endif
1674 1670
1675 // Whether there is a Flash version installed that supports clearing LSO data. 1671 // Whether there is a Flash version installed that supports clearing LSO data.
1676 const char kClearPluginLSODataEnabled[] = "browser.clear_lso_data_enabled"; 1672 const char kClearPluginLSODataEnabled[] = "browser.clear_lso_data_enabled";
1677 1673
1678 // String which specifies where to store the disk cache. 1674 // String which specifies where to store the disk cache.
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
1857 const char kInManagedMode[] = "managed_mode"; 1853 const char kInManagedMode[] = "managed_mode";
1858 1854
1859 // Counts how many more times the 'profile on a network share' warning should be 1855 // Counts how many more times the 'profile on a network share' warning should be
1860 // shown to the user before the next silence period. 1856 // shown to the user before the next silence period.
1861 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; 1857 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left";
1862 // Tracks the time of the last shown warning. Used to reset 1858 // Tracks the time of the last shown warning. Used to reset
1863 // |network_profile.warnings_left| after a silence period. 1859 // |network_profile.warnings_left| after a silence period.
1864 const char kNetworkProfileLastWarningTime[] = 1860 const char kNetworkProfileLastWarningTime[] =
1865 "network_profile.last_warning_time"; 1861 "network_profile.last_warning_time";
1866 } // namespace prefs 1862 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698