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

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: Rebased. 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 1857 matching lines...) Expand 10 before | Expand all | Expand 10 after
1868 1868
1869 // Indicates that debugging features were requested from oobe screen. 1869 // Indicates that debugging features were requested from oobe screen.
1870 const char kDebuggingFeaturesRequested[] = "DebuggingFeaturesRequested"; 1870 const char kDebuggingFeaturesRequested[] = "DebuggingFeaturesRequested";
1871 1871
1872 #if defined(OS_CHROMEOS) 1872 #if defined(OS_CHROMEOS)
1873 // This setting starts periodic timezone refresh when not in user session. 1873 // This setting starts periodic timezone refresh when not in user session.
1874 // (user session is controlled by user profile preference 1874 // (user session is controlled by user profile preference
1875 // kResolveTimezoneByGeolocation 1875 // kResolveTimezoneByGeolocation
1876 const char kResolveDeviceTimezoneByGeolocation[] = 1876 const char kResolveDeviceTimezoneByGeolocation[] =
1877 "settings.resolve_device_timezone_by_geolocation"; 1877 "settings.resolve_device_timezone_by_geolocation";
1878
1879 // This is policy-controlled preference.
1880 // It has values defined in policy enum
1881 // SystemTimezoneAutomaticDetectionProto_AutomaticTimezoneDetectionType;
1882 const char kSystemTimezoneAutomaticDetectionPolicy[] =
1883 "settings.resolve_device_timezone_by_geolocation_policy";
1878 #endif // defined(OS_CHROMEOS) 1884 #endif // defined(OS_CHROMEOS)
1879 1885
1880 // *************** SERVICE PREFS *************** 1886 // *************** SERVICE PREFS ***************
1881 // These are attached to the service process. 1887 // These are attached to the service process.
1882 1888
1883 const char kCloudPrintRoot[] = "cloud_print"; 1889 const char kCloudPrintRoot[] = "cloud_print";
1884 const char kCloudPrintProxyEnabled[] = "cloud_print.enabled"; 1890 const char kCloudPrintProxyEnabled[] = "cloud_print.enabled";
1885 // The unique id for this instance of the cloud print proxy. 1891 // The unique id for this instance of the cloud print proxy.
1886 const char kCloudPrintProxyId[] = "cloud_print.proxy_id"; 1892 const char kCloudPrintProxyId[] = "cloud_print.proxy_id";
1887 // The GAIA auth token for Cloud Print 1893 // The GAIA auth token for Cloud Print
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
2193 const char kMediaRouterEnableCloudServices[] = 2199 const char kMediaRouterEnableCloudServices[] =
2194 "media_router.cloudservices.enabled"; 2200 "media_router.cloudservices.enabled";
2195 #endif // defined(GOOGLE_CHROME_BUILD) 2201 #endif // defined(GOOGLE_CHROME_BUILD)
2196 // Whether or not the Media Router first run flow has been acknowledged by the 2202 // Whether or not the Media Router first run flow has been acknowledged by the
2197 // user. 2203 // user.
2198 const char kMediaRouterFirstRunFlowAcknowledged[] = 2204 const char kMediaRouterFirstRunFlowAcknowledged[] =
2199 "media_router.firstrunflow.acknowledged"; 2205 "media_router.firstrunflow.acknowledged";
2200 #endif 2206 #endif
2201 2207
2202 } // namespace prefs 2208 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698