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

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

Issue 2546533003: Respect QuicAllowed policy for new streams (Closed)
Patch Set: Improve enable_quic_for_new_streams comment 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 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 // next startup, based on what was actually needed during this startup. 430 // next startup, based on what was actually needed during this startup.
431 const char kDnsPrefetchingStartupList[] = "dns_prefetching.startup_list"; 431 const char kDnsPrefetchingStartupList[] = "dns_prefetching.startup_list";
432 432
433 // A list of host names used to fetch web pages, and their commonly used 433 // A list of host names used to fetch web pages, and their commonly used
434 // sub-resource hostnames (and expected latency benefits from pre-resolving, or 434 // sub-resource hostnames (and expected latency benefits from pre-resolving, or
435 // preconnecting to, such sub-resource hostnames). 435 // preconnecting to, such sub-resource hostnames).
436 // This list is adaptively grown and pruned. 436 // This list is adaptively grown and pruned.
437 const char kDnsPrefetchingHostReferralList[] = 437 const char kDnsPrefetchingHostReferralList[] =
438 "dns_prefetching.host_referral_list"; 438 "dns_prefetching.host_referral_list";
439 439
440 // Controls if the QUIC protocol is allowed.
441 const char kQuicAllowed[] = "quic.allowed";
gab 2016/12/08 20:23:27 I don't see any other "quic." prefs, should this j
mmenke 2016/12/08 20:34:49 Net doesn't do any command line parsing, to let it
gab 2016/12/08 21:49:45 I meant, not in net/, but just have the pref be pr
pastarmovj 2016/12/09 11:12:54 +1 to a common prefix.
pmarko 2016/12/13 06:01:51 Done.
442
440 // Prefs for persisting HttpServerProperties. 443 // Prefs for persisting HttpServerProperties.
441 const char kHttpServerProperties[] = "net.http_server_properties"; 444 const char kHttpServerProperties[] = "net.http_server_properties";
442 445
443 // Prefs for persisting network qualities. 446 // Prefs for persisting network qualities.
444 const char kNetworkQualities[] = "net.network_qualities"; 447 const char kNetworkQualities[] = "net.network_qualities";
445 448
446 #if defined(OS_ANDROID) 449 #if defined(OS_ANDROID)
447 // Last time that a check for cloud policy management was done. This time is 450 // Last time that a check for cloud policy management was done. This time is
448 // recorded on Android so that retries aren't attempted on every startup. 451 // recorded on Android so that retries aren't attempted on every startup.
449 // Instead the cloud policy registration is retried at least 1 or 3 days later. 452 // Instead the cloud policy registration is retried at least 1 or 3 days later.
(...skipping 1866 matching lines...) Expand 10 before | Expand all | Expand 10 after
2316 // How many times the search geolocation disclosure has been shown. 2319 // How many times the search geolocation disclosure has been shown.
2317 const char kSearchGeolocationDisclosureShownCount[] = 2320 const char kSearchGeolocationDisclosureShownCount[] =
2318 "search_geolocation_disclosure.shown_count"; 2321 "search_geolocation_disclosure.shown_count";
2319 2322
2320 // When the disclosure was shown last. 2323 // When the disclosure was shown last.
2321 const char kSearchGeolocationDisclosureLastShowDate[] = 2324 const char kSearchGeolocationDisclosureLastShowDate[] =
2322 "search_geolocation_disclosure.last_show_date"; 2325 "search_geolocation_disclosure.last_show_date";
2323 #endif 2326 #endif
2324 2327
2325 } // namespace prefs 2328 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698