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

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: Comments addressed. Created 8 years, 8 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
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 1626 matching lines...) Expand 10 before | Expand all | Expand 10 after
1637 // it's not the default value; otherwise, no auto-enrollment decision has been 1637 // it's not the default value; otherwise, no auto-enrollment decision has been
1638 // made yet. 1638 // made yet.
1639 const char kShouldAutoEnroll[] = "ShouldAutoEnroll"; 1639 const char kShouldAutoEnroll[] = "ShouldAutoEnroll";
1640 1640
1641 // An integer pref with the maximum number of bits used by the client in a 1641 // An integer pref with the maximum number of bits used by the client in a
1642 // previous auto-enrollment request. If the client goes through an auto update 1642 // previous auto-enrollment request. If the client goes through an auto update
1643 // during OOBE and reboots into a version of the OS with a larger maximum 1643 // during OOBE and reboots into a version of the OS with a larger maximum
1644 // modulus, then it will retry auto-enrollment using the updated value. 1644 // modulus, then it will retry auto-enrollment using the updated value.
1645 const char kAutoEnrollmentPowerLimit[] = "AutoEnrollmentPowerLimit"; 1645 const char kAutoEnrollmentPowerLimit[] = "AutoEnrollmentPowerLimit";
1646 1646
1647 // A boolean pref that indicates whether OS & firmware version info should be
1648 // reported along with device policy requests.
1649 const char kReportDeviceVersionInfo[] = "device_status.report_version_info";
1650
1651 // A boolean pref that indicates whether device activity times should be
1652 // recorded and reported along with device policy requests.
1653 const char kReportDeviceActivityTimes[] = "device_status.report_activity_times";
1654
1655 // The local state pref that stores device activity times before reporting 1647 // The local state pref that stores device activity times before reporting
1656 // them to the policy server. 1648 // them to the policy server.
1657 extern const char kDeviceActivityTimes[] = "device_status.activity_times"; 1649 extern const char kDeviceActivityTimes[] = "device_status.activity_times";
1658 1650
1651 // A local state pref holding the last known location when device location
joth 2012/04/23 10:05:14 nit: "local state pref" is spurious as this is in
bartfab (slow) 2012/04/23 12:21:28 Done.
1652 // reporting is enabled.
1653 extern const char kDeviceLocation[] = "device_status.location";
1654
1659 // A string that is used to store first-time sync startup after once sync is 1655 // A string that is used to store first-time sync startup after once sync is
1660 // disabled. This will be refreshed every sign-in. 1656 // disabled. This will be refreshed every sign-in.
1661 const char kSyncSpareBootstrapToken[] = "sync.spare_bootstrap_token"; 1657 const char kSyncSpareBootstrapToken[] = "sync.spare_bootstrap_token";
1662 #endif 1658 #endif
1663 1659
1664 // Whether there is a Flash version installed that supports clearing LSO data. 1660 // Whether there is a Flash version installed that supports clearing LSO data.
1665 const char kClearPluginLSODataEnabled[] = "browser.clear_lso_data_enabled"; 1661 const char kClearPluginLSODataEnabled[] = "browser.clear_lso_data_enabled";
1666 1662
1667 // String which specifies where to store the disk cache. 1663 // String which specifies where to store the disk cache.
1668 const char kDiskCacheDir[] = "browser.disk_cache_dir"; 1664 const char kDiskCacheDir[] = "browser.disk_cache_dir";
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
1842 const char kRailBreakProportion[] = 1838 const char kRailBreakProportion[] =
1843 "gesture.rail_break_proportion"; 1839 "gesture.rail_break_proportion";
1844 const char kRailStartProportion[] = 1840 const char kRailStartProportion[] =
1845 "gesture.rail_start_proportion"; 1841 "gesture.rail_start_proportion";
1846 #endif 1842 #endif
1847 1843
1848 // Indicates whether the browser is in managed mode. 1844 // Indicates whether the browser is in managed mode.
1849 const char kInManagedMode[] = "managed_mode"; 1845 const char kInManagedMode[] = "managed_mode";
1850 1846
1851 } // namespace prefs 1847 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698