Chromium Code Reviews| 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 1288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1299 // in order to use Easy Unlock. | 1299 // in order to use Easy Unlock. |
| 1300 const char kEasyUnlockProximityRequired[] = "easy_unlock.proximity_required"; | 1300 const char kEasyUnlockProximityRequired[] = "easy_unlock.proximity_required"; |
| 1301 | 1301 |
| 1302 #if BUILDFLAG(ENABLE_EXTENSIONS) | 1302 #if BUILDFLAG(ENABLE_EXTENSIONS) |
| 1303 // Used to indicate whether or not the toolbar redesign bubble has been shown | 1303 // Used to indicate whether or not the toolbar redesign bubble has been shown |
| 1304 // and acknowledged, and the last time the bubble was shown. | 1304 // and acknowledged, and the last time the bubble was shown. |
| 1305 const char kToolbarIconSurfacingBubbleAcknowledged[] = | 1305 const char kToolbarIconSurfacingBubbleAcknowledged[] = |
| 1306 "toolbar_icon_surfacing_bubble_acknowledged"; | 1306 "toolbar_icon_surfacing_bubble_acknowledged"; |
| 1307 const char kToolbarIconSurfacingBubbleLastShowTime[] = | 1307 const char kToolbarIconSurfacingBubbleLastShowTime[] = |
| 1308 "toolbar_icon_surfacing_bubble_show_time"; | 1308 "toolbar_icon_surfacing_bubble_show_time"; |
| 1309 | |
| 1310 // Used to track component actions in the toolbar that were migrated from | |
| 1311 // extensions. | |
| 1312 const char kToolbarMigratedComponentActionStatus[] = | |
| 1313 "toolbar_migrated_component_action_status"; | |
|
Devlin
2017/02/08 15:20:01
We need to clean this pref up, meaning leave it in
takumif
2017/02/08 17:38:15
Got it. I'm assuming it should go in MigrateObsole
gab
2017/02/08 17:47:30
Correct. Still do remove the pref_names.h entry an
takumif
2017/02/08 18:12:14
Done.
| |
| 1314 #endif | 1309 #endif |
| 1315 | 1310 |
| 1316 #if BUILDFLAG(ENABLE_WEBRTC) | 1311 #if BUILDFLAG(ENABLE_WEBRTC) |
| 1317 // Whether WebRTC should bind to individual NICs to explore all possible routing | 1312 // Whether WebRTC should bind to individual NICs to explore all possible routing |
| 1318 // options. Default is true. This has become obsoleted and replaced by | 1313 // options. Default is true. This has become obsoleted and replaced by |
| 1319 // kWebRTCIPHandlingPolicy. TODO(guoweis): Remove this at M50. | 1314 // kWebRTCIPHandlingPolicy. TODO(guoweis): Remove this at M50. |
| 1320 const char kWebRTCMultipleRoutesEnabled[] = "webrtc.multiple_routes_enabled"; | 1315 const char kWebRTCMultipleRoutesEnabled[] = "webrtc.multiple_routes_enabled"; |
| 1321 // Whether WebRTC should use non-proxied UDP. If false, WebRTC will not send UDP | 1316 // Whether WebRTC should use non-proxied UDP. If false, WebRTC will not send UDP |
| 1322 // unless it goes through a proxy (i.e RETURN when it's available). If no UDP | 1317 // unless it goes through a proxy (i.e RETURN when it's available). If no UDP |
| 1323 // proxy is configured, it will not send UDP. If true, WebRTC will send UDP | 1318 // proxy is configured, it will not send UDP. If true, WebRTC will send UDP |
| (...skipping 645 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1969 // It has values defined in policy enum | 1964 // It has values defined in policy enum |
| 1970 // SystemTimezoneAutomaticDetectionProto_AutomaticTimezoneDetectionType; | 1965 // SystemTimezoneAutomaticDetectionProto_AutomaticTimezoneDetectionType; |
| 1971 const char kSystemTimezoneAutomaticDetectionPolicy[] = | 1966 const char kSystemTimezoneAutomaticDetectionPolicy[] = |
| 1972 "settings.resolve_device_timezone_by_geolocation_policy"; | 1967 "settings.resolve_device_timezone_by_geolocation_policy"; |
| 1973 #endif // defined(OS_CHROMEOS) | 1968 #endif // defined(OS_CHROMEOS) |
| 1974 | 1969 |
| 1975 #if defined(ENABLE_MEDIA_ROUTER) | 1970 #if defined(ENABLE_MEDIA_ROUTER) |
| 1976 // Pref name for the policy controlling whether to enable Media Router. | 1971 // Pref name for the policy controlling whether to enable Media Router. |
| 1977 const char kEnableMediaRouter[] = "media_router.enable_media_router"; | 1972 const char kEnableMediaRouter[] = "media_router.enable_media_router"; |
| 1978 #if !defined(OS_ANDROID) | 1973 #if !defined(OS_ANDROID) |
| 1979 // Pref name for the policy controlling whether to force the Cast icon to be | 1974 // Pref name for a boolean indicating whether to show the Cast icon in the |
| 1980 // shown in the toolbar/overflow menu. | 1975 // toolbar/overflow menu. May be policy-controlled. |
| 1981 const char kShowCastIconInToolbar[] = "media_router.show_cast_icon_in_toolbar"; | 1976 const char kShowCastIconInToolbar[] = "media_router.show_cast_icon_in_toolbar"; |
| 1982 #endif // !defined(OS_ANDROID) | 1977 #endif // !defined(OS_ANDROID) |
| 1983 #endif // defined(ENABLE_MEDIA_ROUTER) | 1978 #endif // defined(ENABLE_MEDIA_ROUTER) |
| 1984 | 1979 |
| 1985 // *************** SERVICE PREFS *************** | 1980 // *************** SERVICE PREFS *************** |
| 1986 // These are attached to the service process. | 1981 // These are attached to the service process. |
| 1987 | 1982 |
| 1988 const char kCloudPrintRoot[] = "cloud_print"; | 1983 const char kCloudPrintRoot[] = "cloud_print"; |
| 1989 const char kCloudPrintProxyEnabled[] = "cloud_print.enabled"; | 1984 const char kCloudPrintProxyEnabled[] = "cloud_print.enabled"; |
| 1990 // The unique id for this instance of the cloud print proxy. | 1985 // The unique id for this instance of the cloud print proxy. |
| (...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2382 // default search engine, if it is the Google search engine. | 2377 // default search engine, if it is the Google search engine. |
| 2383 const char kGoogleDSEGeolocationSetting[] = "google_dse_geolocation_setting"; | 2378 const char kGoogleDSEGeolocationSetting[] = "google_dse_geolocation_setting"; |
| 2384 | 2379 |
| 2385 // A dictionary of manifest URLs of Web Share Targets to a dictionary containing | 2380 // A dictionary of manifest URLs of Web Share Targets to a dictionary containing |
| 2386 // attributes of its share_target field found in its manifest. Each key in the | 2381 // attributes of its share_target field found in its manifest. Each key in the |
| 2387 // dictionary is the name of the attribute, and the value is the corresponding | 2382 // dictionary is the name of the attribute, and the value is the corresponding |
| 2388 // value. | 2383 // value. |
| 2389 const char kWebShareVisitedTargets[] = "profile.web_share.visited_targets"; | 2384 const char kWebShareVisitedTargets[] = "profile.web_share.visited_targets"; |
| 2390 | 2385 |
| 2391 } // namespace prefs | 2386 } // namespace prefs |
| OLD | NEW |