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

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

Issue 2517953003: Move enable_webrtc to a buildflag header. (Closed)
Patch Set: Fix Created 4 years, 1 month 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
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/common/url_constants.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
11 #include "extensions/features/features.h" 11 #include "extensions/features/features.h"
12 #include "media/media_features.h"
12 #include "ppapi/features/features.h" 13 #include "ppapi/features/features.h"
13 14
14 namespace prefs { 15 namespace prefs {
15 16
16 // *************** PROFILE PREFS *************** 17 // *************** PROFILE PREFS ***************
17 // These are attached to the user profile 18 // These are attached to the user profile
18 19
19 #if defined(OS_CHROMEOS) && BUILDFLAG(ENABLE_APP_LIST) 20 #if defined(OS_CHROMEOS) && BUILDFLAG(ENABLE_APP_LIST)
20 // A preference to keep list of Android apps and their state. 21 // A preference to keep list of Android apps and their state.
21 const char kArcApps[] = "arc.apps"; 22 const char kArcApps[] = "arc.apps";
(...skipping 1259 matching lines...) Expand 10 before | Expand all | Expand 10 after
1281 "toolbar_icon_surfacing_bubble_acknowledged"; 1282 "toolbar_icon_surfacing_bubble_acknowledged";
1282 const char kToolbarIconSurfacingBubbleLastShowTime[] = 1283 const char kToolbarIconSurfacingBubbleLastShowTime[] =
1283 "toolbar_icon_surfacing_bubble_show_time"; 1284 "toolbar_icon_surfacing_bubble_show_time";
1284 1285
1285 // Used to track component actions in the toolbar that were migrated from 1286 // Used to track component actions in the toolbar that were migrated from
1286 // extensions. 1287 // extensions.
1287 const char kToolbarMigratedComponentActionStatus[] = 1288 const char kToolbarMigratedComponentActionStatus[] =
1288 "toolbar_migrated_component_action_status"; 1289 "toolbar_migrated_component_action_status";
1289 #endif 1290 #endif
1290 1291
1291 #if defined(ENABLE_WEBRTC) 1292 #if BUILDFLAG(ENABLE_WEBRTC)
1292 // Whether WebRTC should bind to individual NICs to explore all possible routing 1293 // Whether WebRTC should bind to individual NICs to explore all possible routing
1293 // options. Default is true. This has become obsoleted and replaced by 1294 // options. Default is true. This has become obsoleted and replaced by
1294 // kWebRTCIPHandlingPolicy. TODO(guoweis): Remove this at M50. 1295 // kWebRTCIPHandlingPolicy. TODO(guoweis): Remove this at M50.
1295 const char kWebRTCMultipleRoutesEnabled[] = "webrtc.multiple_routes_enabled"; 1296 const char kWebRTCMultipleRoutesEnabled[] = "webrtc.multiple_routes_enabled";
1296 // Whether WebRTC should use non-proxied UDP. If false, WebRTC will not send UDP 1297 // Whether WebRTC should use non-proxied UDP. If false, WebRTC will not send UDP
1297 // unless it goes through a proxy (i.e RETURN when it's available). If no UDP 1298 // unless it goes through a proxy (i.e RETURN when it's available). If no UDP
1298 // proxy is configured, it will not send UDP. If true, WebRTC will send UDP 1299 // proxy is configured, it will not send UDP. If true, WebRTC will send UDP
1299 // regardless of whether or not a proxy is configured. TODO(guoweis): Remove 1300 // regardless of whether or not a proxy is configured. TODO(guoweis): Remove
1300 // this at M50. 1301 // this at M50.
1301 const char kWebRTCNonProxiedUdpEnabled[] = 1302 const char kWebRTCNonProxiedUdpEnabled[] =
(...skipping 1013 matching lines...) Expand 10 before | Expand all | Expand 10 after
2315 // How many times the search geolocation disclosure has been shown. 2316 // How many times the search geolocation disclosure has been shown.
2316 const char kSearchGeolocationDisclosureShownCount[] = 2317 const char kSearchGeolocationDisclosureShownCount[] =
2317 "search_geolocation_disclosure.shown_count"; 2318 "search_geolocation_disclosure.shown_count";
2318 2319
2319 // When the disclosure was shown last. 2320 // When the disclosure was shown last.
2320 const char kSearchGeolocationDisclosureLastShowDate[] = 2321 const char kSearchGeolocationDisclosureLastShowDate[] =
2321 "search_geolocation_disclosure.last_show_date"; 2322 "search_geolocation_disclosure.last_show_date";
2322 #endif 2323 #endif
2323 2324
2324 } // namespace prefs 2325 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/common/url_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698