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

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

Issue 2559323002: Add a policy to always show the Cast toolbar icon (Closed)
Patch Set: Address Derek's comments Created 4 years 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/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 1939 matching lines...) Expand 10 before | Expand all | Expand 10 after
1950 // This is policy-controlled preference. 1950 // This is policy-controlled preference.
1951 // It has values defined in policy enum 1951 // It has values defined in policy enum
1952 // SystemTimezoneAutomaticDetectionProto_AutomaticTimezoneDetectionType; 1952 // SystemTimezoneAutomaticDetectionProto_AutomaticTimezoneDetectionType;
1953 const char kSystemTimezoneAutomaticDetectionPolicy[] = 1953 const char kSystemTimezoneAutomaticDetectionPolicy[] =
1954 "settings.resolve_device_timezone_by_geolocation_policy"; 1954 "settings.resolve_device_timezone_by_geolocation_policy";
1955 #endif // defined(OS_CHROMEOS) 1955 #endif // defined(OS_CHROMEOS)
1956 1956
1957 #if defined(ENABLE_MEDIA_ROUTER) 1957 #if defined(ENABLE_MEDIA_ROUTER)
1958 // Pref name for the policy controlling whether to enable Media Router. 1958 // Pref name for the policy controlling whether to enable Media Router.
1959 const char kEnableMediaRouter[] = "media_router.enable_media_router"; 1959 const char kEnableMediaRouter[] = "media_router.enable_media_router";
1960 #if !defined(OS_ANDROID)
1961 // Pref name for the policy controlling whether to force the Cast icon to be
1962 // shown in the toolbar/overflow menu.
1963 const char kShowCastIconInToolbar[] = "media_router.show_cast_icon_in_toolbar";
1964 #endif // !defined(OS_ANDROID)
1960 #endif // defined(ENABLE_MEDIA_ROUTER) 1965 #endif // defined(ENABLE_MEDIA_ROUTER)
1961 1966
1962 // *************** SERVICE PREFS *************** 1967 // *************** SERVICE PREFS ***************
1963 // These are attached to the service process. 1968 // These are attached to the service process.
1964 1969
1965 const char kCloudPrintRoot[] = "cloud_print"; 1970 const char kCloudPrintRoot[] = "cloud_print";
1966 const char kCloudPrintProxyEnabled[] = "cloud_print.enabled"; 1971 const char kCloudPrintProxyEnabled[] = "cloud_print.enabled";
1967 // The unique id for this instance of the cloud print proxy. 1972 // The unique id for this instance of the cloud print proxy.
1968 const char kCloudPrintProxyId[] = "cloud_print.proxy_id"; 1973 const char kCloudPrintProxyId[] = "cloud_print.proxy_id";
1969 // The GAIA auth token for Cloud Print 1974 // The GAIA auth token for Cloud Print
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
2349 const char kSearchGeolocationPreDisclosureMetricsRecorded[] = 2354 const char kSearchGeolocationPreDisclosureMetricsRecorded[] =
2350 "search_geolocation_pre_disclosure_metrics_recorded"; 2355 "search_geolocation_pre_disclosure_metrics_recorded";
2351 2356
2352 // Whether the metrics for the state of geolocation post-disclosure being shown 2357 // Whether the metrics for the state of geolocation post-disclosure being shown
2353 // have been recorded. 2358 // have been recorded.
2354 const char kSearchGeolocationPostDisclosureMetricsRecorded[] = 2359 const char kSearchGeolocationPostDisclosureMetricsRecorded[] =
2355 "search_geolocation_post_disclosure_metrics_recorded"; 2360 "search_geolocation_post_disclosure_metrics_recorded";
2356 #endif 2361 #endif
2357 2362
2358 } // namespace prefs 2363 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698