| OLD | NEW |
| 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/features.h" | 9 #include "chrome/common/features.h" |
| 10 #include "chrome/common/pref_font_webkit_names.h" | 10 #include "chrome/common/pref_font_webkit_names.h" |
| (...skipping 1953 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1964 // This is policy-controlled preference. | 1964 // This is policy-controlled preference. |
| 1965 // It has values defined in policy enum | 1965 // It has values defined in policy enum |
| 1966 // SystemTimezoneAutomaticDetectionProto_AutomaticTimezoneDetectionType; | 1966 // SystemTimezoneAutomaticDetectionProto_AutomaticTimezoneDetectionType; |
| 1967 const char kSystemTimezoneAutomaticDetectionPolicy[] = | 1967 const char kSystemTimezoneAutomaticDetectionPolicy[] = |
| 1968 "settings.resolve_device_timezone_by_geolocation_policy"; | 1968 "settings.resolve_device_timezone_by_geolocation_policy"; |
| 1969 #endif // defined(OS_CHROMEOS) | 1969 #endif // defined(OS_CHROMEOS) |
| 1970 | 1970 |
| 1971 #if defined(ENABLE_MEDIA_ROUTER) | 1971 #if defined(ENABLE_MEDIA_ROUTER) |
| 1972 // Pref name for the policy controlling whether to enable Media Router. | 1972 // Pref name for the policy controlling whether to enable Media Router. |
| 1973 const char kEnableMediaRouter[] = "media_router.enable_media_router"; | 1973 const char kEnableMediaRouter[] = "media_router.enable_media_router"; |
| 1974 #if !defined(OS_ANDROID) |
| 1975 // Pref name for the policy controlling whether to force the Cast icon to be |
| 1976 // shown in the toolbar/overflow menu. |
| 1977 const char kShowCastIconInToolbar[] = "media_router.show_cast_icon_in_toolbar"; |
| 1978 #endif // !defined(OS_ANDROID) |
| 1974 #endif // defined(ENABLE_MEDIA_ROUTER) | 1979 #endif // defined(ENABLE_MEDIA_ROUTER) |
| 1975 | 1980 |
| 1976 // *************** SERVICE PREFS *************** | 1981 // *************** SERVICE PREFS *************** |
| 1977 // These are attached to the service process. | 1982 // These are attached to the service process. |
| 1978 | 1983 |
| 1979 const char kCloudPrintRoot[] = "cloud_print"; | 1984 const char kCloudPrintRoot[] = "cloud_print"; |
| 1980 const char kCloudPrintProxyEnabled[] = "cloud_print.enabled"; | 1985 const char kCloudPrintProxyEnabled[] = "cloud_print.enabled"; |
| 1981 // The unique id for this instance of the cloud print proxy. | 1986 // The unique id for this instance of the cloud print proxy. |
| 1982 const char kCloudPrintProxyId[] = "cloud_print.proxy_id"; | 1987 const char kCloudPrintProxyId[] = "cloud_print.proxy_id"; |
| 1983 // The GAIA auth token for Cloud Print | 1988 // The GAIA auth token for Cloud Print |
| (...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2367 // have been recorded. | 2372 // have been recorded. |
| 2368 const char kSearchGeolocationPostDisclosureMetricsRecorded[] = | 2373 const char kSearchGeolocationPostDisclosureMetricsRecorded[] = |
| 2369 "search_geolocation_post_disclosure_metrics_recorded"; | 2374 "search_geolocation_post_disclosure_metrics_recorded"; |
| 2370 #endif | 2375 #endif |
| 2371 | 2376 |
| 2372 // A dictionary which stores whether location access is enabled for the current | 2377 // A dictionary which stores whether location access is enabled for the current |
| 2373 // default search engine, if it is the Google search engine. | 2378 // default search engine, if it is the Google search engine. |
| 2374 const char kGoogleDSEGeolocationSetting[] = "google_dse_geolocation_setting"; | 2379 const char kGoogleDSEGeolocationSetting[] = "google_dse_geolocation_setting"; |
| 2375 | 2380 |
| 2376 } // namespace prefs | 2381 } // namespace prefs |
| OLD | NEW |