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

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

Issue 1843523002: ChromeOS: Add SystemTimezoneAutomaticDetection policy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@596690--Implement-better-timezone-detection--refactoring-before-policy
Patch Set: Moved policy to SystemTimezone. Created 4 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/macros.h" 7 #include "base/macros.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "chrome/common/pref_font_webkit_names.h" 9 #include "chrome/common/pref_font_webkit_names.h"
10 10
(...skipping 1855 matching lines...) Expand 10 before | Expand all | Expand 10 after
1866 1866
1867 // Indicates that debugging features were requested from oobe screen. 1867 // Indicates that debugging features were requested from oobe screen.
1868 const char kDebuggingFeaturesRequested[] = "DebuggingFeaturesRequested"; 1868 const char kDebuggingFeaturesRequested[] = "DebuggingFeaturesRequested";
1869 1869
1870 #if defined(OS_CHROMEOS) 1870 #if defined(OS_CHROMEOS)
1871 // This setting starts periodic timezone refresh when not in user session. 1871 // This setting starts periodic timezone refresh when not in user session.
1872 // (user session is controlled by user profile preference 1872 // (user session is controlled by user profile preference
1873 // kResolveTimezoneByGeolocation 1873 // kResolveTimezoneByGeolocation
1874 const char kResolveDeviceTimezoneByGeolocation[] = 1874 const char kResolveDeviceTimezoneByGeolocation[] =
1875 "settings.resolve_device_timezone_by_geolocation"; 1875 "settings.resolve_device_timezone_by_geolocation";
1876
1877 // This is policy-controlled preference.
1878 // It has values defined in policy enum
1879 // SystemTimezoneAutomaticDetectionProto_AutomaticTimezoneDetectionType;
1880 const char kSystemTimezoneAutomaticDetectionPolicy[] =
1881 "settings.resolve_device_timezone_by_geolocation_policy";
1876 #endif // defined(OS_CHROMEOS) 1882 #endif // defined(OS_CHROMEOS)
1877 1883
1878 // *************** SERVICE PREFS *************** 1884 // *************** SERVICE PREFS ***************
1879 // These are attached to the service process. 1885 // These are attached to the service process.
1880 1886
1881 const char kCloudPrintRoot[] = "cloud_print"; 1887 const char kCloudPrintRoot[] = "cloud_print";
1882 const char kCloudPrintProxyEnabled[] = "cloud_print.enabled"; 1888 const char kCloudPrintProxyEnabled[] = "cloud_print.enabled";
1883 // The unique id for this instance of the cloud print proxy. 1889 // The unique id for this instance of the cloud print proxy.
1884 const char kCloudPrintProxyId[] = "cloud_print.proxy_id"; 1890 const char kCloudPrintProxyId[] = "cloud_print.proxy_id";
1885 // The GAIA auth token for Cloud Print 1891 // The GAIA auth token for Cloud Print
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
2191 const char kMediaRouterEnableCloudServices[] = 2197 const char kMediaRouterEnableCloudServices[] =
2192 "media_router.cloudservices.enabled"; 2198 "media_router.cloudservices.enabled";
2193 #endif // defined(GOOGLE_CHROME_BUILD) 2199 #endif // defined(GOOGLE_CHROME_BUILD)
2194 // Whether or not the Media Router first run flow has been acknowledged by the 2200 // Whether or not the Media Router first run flow has been acknowledged by the
2195 // user. 2201 // user.
2196 const char kMediaRouterFirstRunFlowAcknowledged[] = 2202 const char kMediaRouterFirstRunFlowAcknowledged[] =
2197 "media_router.firstrunflow.acknowledged"; 2203 "media_router.firstrunflow.acknowledged";
2198 #endif 2204 #endif
2199 2205
2200 } // namespace prefs 2206 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698