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

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: New implementation on top of a new content geolocation API. 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
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 1630 matching lines...) Expand 10 before | Expand all | Expand 10 after
1641 // it's not the default value; otherwise, no auto-enrollment decision has been 1641 // it's not the default value; otherwise, no auto-enrollment decision has been
1642 // made yet. 1642 // made yet.
1643 const char kShouldAutoEnroll[] = "ShouldAutoEnroll"; 1643 const char kShouldAutoEnroll[] = "ShouldAutoEnroll";
1644 1644
1645 // An integer pref with the maximum number of bits used by the client in a 1645 // An integer pref with the maximum number of bits used by the client in a
1646 // previous auto-enrollment request. If the client goes through an auto update 1646 // previous auto-enrollment request. If the client goes through an auto update
1647 // during OOBE and reboots into a version of the OS with a larger maximum 1647 // during OOBE and reboots into a version of the OS with a larger maximum
1648 // modulus, then it will retry auto-enrollment using the updated value. 1648 // modulus, then it will retry auto-enrollment using the updated value.
1649 const char kAutoEnrollmentPowerLimit[] = "AutoEnrollmentPowerLimit"; 1649 const char kAutoEnrollmentPowerLimit[] = "AutoEnrollmentPowerLimit";
1650 1650
1651 // A boolean pref that indicates whether OS & firmware version info should be
1652 // reported along with device policy requests.
1653 const char kReportDeviceVersionInfo[] = "device_status.report_version_info";
1654
1655 // A boolean pref that indicates whether device activity times should be
1656 // recorded and reported along with device policy requests.
1657 const char kReportDeviceActivityTimes[] = "device_status.report_activity_times";
1658
1659 // The local state pref that stores device activity times before reporting 1651 // The local state pref that stores device activity times before reporting
1660 // them to the policy server. 1652 // them to the policy server.
1661 extern const char kDeviceActivityTimes[] = "device_status.activity_times"; 1653 extern const char kDeviceActivityTimes[] = "device_status.activity_times";
1662 1654
1655 // A pref holding the last known location when device location reporting is
1656 // enabled.
1657 extern const char kDeviceLocation[] = "device_status.location";
Joao da Silva 2012/05/03 19:04:08 Remove the extern here and in the line above, it o
bartfab (slow) 2012/05/04 09:14:57 Done.
1658
1663 // A string that is used to store first-time sync startup after once sync is 1659 // A string that is used to store first-time sync startup after once sync is
1664 // disabled. This will be refreshed every sign-in. 1660 // disabled. This will be refreshed every sign-in.
1665 const char kSyncSpareBootstrapToken[] = "sync.spare_bootstrap_token"; 1661 const char kSyncSpareBootstrapToken[] = "sync.spare_bootstrap_token";
1666 #endif 1662 #endif
1667 1663
1668 // Whether there is a Flash version installed that supports clearing LSO data. 1664 // Whether there is a Flash version installed that supports clearing LSO data.
1669 const char kClearPluginLSODataEnabled[] = "browser.clear_lso_data_enabled"; 1665 const char kClearPluginLSODataEnabled[] = "browser.clear_lso_data_enabled";
1670 1666
1671 // String which specifies where to store the disk cache. 1667 // String which specifies where to store the disk cache.
1672 const char kDiskCacheDir[] = "browser.disk_cache_dir"; 1668 const char kDiskCacheDir[] = "browser.disk_cache_dir";
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
1843 const char kRailBreakProportion[] = 1839 const char kRailBreakProportion[] =
1844 "gesture.rail_break_proportion"; 1840 "gesture.rail_break_proportion";
1845 const char kRailStartProportion[] = 1841 const char kRailStartProportion[] =
1846 "gesture.rail_start_proportion"; 1842 "gesture.rail_start_proportion";
1847 #endif 1843 #endif
1848 1844
1849 // Indicates whether the browser is in managed mode. 1845 // Indicates whether the browser is in managed mode.
1850 const char kInManagedMode[] = "managed_mode"; 1846 const char kInManagedMode[] = "managed_mode";
1851 1847
1852 } // namespace prefs 1848 } // namespace prefs
OLDNEW
« chrome/browser/policy/device_status_collector_unittest.cc ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698