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

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

Issue 2559323002: Add a policy to always show the Cast toolbar icon (Closed)
Patch Set: 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 1928 matching lines...) Expand 10 before | Expand all | Expand 10 after
1939 // This is policy-controlled preference. 1939 // This is policy-controlled preference.
1940 // It has values defined in policy enum 1940 // It has values defined in policy enum
1941 // SystemTimezoneAutomaticDetectionProto_AutomaticTimezoneDetectionType; 1941 // SystemTimezoneAutomaticDetectionProto_AutomaticTimezoneDetectionType;
1942 const char kSystemTimezoneAutomaticDetectionPolicy[] = 1942 const char kSystemTimezoneAutomaticDetectionPolicy[] =
1943 "settings.resolve_device_timezone_by_geolocation_policy"; 1943 "settings.resolve_device_timezone_by_geolocation_policy";
1944 #endif // defined(OS_CHROMEOS) 1944 #endif // defined(OS_CHROMEOS)
1945 1945
1946 #if defined(ENABLE_MEDIA_ROUTER) 1946 #if defined(ENABLE_MEDIA_ROUTER)
1947 // Pref name for the policy controlling whether to enable Media Router. 1947 // Pref name for the policy controlling whether to enable Media Router.
1948 const char kEnableMediaRouter[] = "media_router.enable_media_router"; 1948 const char kEnableMediaRouter[] = "media_router.enable_media_router";
1949 #if !defined(OS_ANDROID)
1950 // Pref name for the policy controlling whether to force the Cast icon to be
1951 // shown in the toolbar/overflow menu.
1952 const char kShowCastIconInToolbar[] = "media_router.show_cast_icon_in_toolbar";
1953 #endif // !defined(OS_ANDROID)
1949 #endif // defined(ENABLE_MEDIA_ROUTER) 1954 #endif // defined(ENABLE_MEDIA_ROUTER)
1950 1955
1951 // *************** SERVICE PREFS *************** 1956 // *************** SERVICE PREFS ***************
1952 // These are attached to the service process. 1957 // These are attached to the service process.
1953 1958
1954 const char kCloudPrintRoot[] = "cloud_print"; 1959 const char kCloudPrintRoot[] = "cloud_print";
1955 const char kCloudPrintProxyEnabled[] = "cloud_print.enabled"; 1960 const char kCloudPrintProxyEnabled[] = "cloud_print.enabled";
1956 // The unique id for this instance of the cloud print proxy. 1961 // The unique id for this instance of the cloud print proxy.
1957 const char kCloudPrintProxyId[] = "cloud_print.proxy_id"; 1962 const char kCloudPrintProxyId[] = "cloud_print.proxy_id";
1958 // The GAIA auth token for Cloud Print 1963 // The GAIA auth token for Cloud Print
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
2338 const char kSearchGeolocationPreDisclosureMetricsRecorded[] = 2343 const char kSearchGeolocationPreDisclosureMetricsRecorded[] =
2339 "search_geolocation_pre_disclosure_metrics_recorded"; 2344 "search_geolocation_pre_disclosure_metrics_recorded";
2340 2345
2341 // Whether the metrics for the state of geolocation post-disclosure being shown 2346 // Whether the metrics for the state of geolocation post-disclosure being shown
2342 // have been recorded. 2347 // have been recorded.
2343 const char kSearchGeolocationPostDisclosureMetricsRecorded[] = 2348 const char kSearchGeolocationPostDisclosureMetricsRecorded[] =
2344 "search_geolocation_post_disclosure_metrics_recorded"; 2349 "search_geolocation_post_disclosure_metrics_recorded";
2345 #endif 2350 #endif
2346 2351
2347 } // namespace prefs 2352 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698