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

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

Issue 2546533003: Respect QuicAllowed policy for new streams (Closed)
Patch Set: Rebase Created 3 years, 11 months 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 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 // next startup, based on what was actually needed during this startup. 432 // next startup, based on what was actually needed during this startup.
433 const char kDnsPrefetchingStartupList[] = "dns_prefetching.startup_list"; 433 const char kDnsPrefetchingStartupList[] = "dns_prefetching.startup_list";
434 434
435 // A list of host names used to fetch web pages, and their commonly used 435 // A list of host names used to fetch web pages, and their commonly used
436 // sub-resource hostnames (and expected latency benefits from pre-resolving, or 436 // sub-resource hostnames (and expected latency benefits from pre-resolving, or
437 // preconnecting to, such sub-resource hostnames). 437 // preconnecting to, such sub-resource hostnames).
438 // This list is adaptively grown and pruned. 438 // This list is adaptively grown and pruned.
439 const char kDnsPrefetchingHostReferralList[] = 439 const char kDnsPrefetchingHostReferralList[] =
440 "dns_prefetching.host_referral_list"; 440 "dns_prefetching.host_referral_list";
441 441
442 // Controls if the QUIC protocol is allowed.
443 const char kQuicAllowed[] = "net.quic_allowed";
444
442 // Prefs for persisting HttpServerProperties. 445 // Prefs for persisting HttpServerProperties.
443 const char kHttpServerProperties[] = "net.http_server_properties"; 446 const char kHttpServerProperties[] = "net.http_server_properties";
444 447
445 // Prefs for persisting network qualities. 448 // Prefs for persisting network qualities.
446 const char kNetworkQualities[] = "net.network_qualities"; 449 const char kNetworkQualities[] = "net.network_qualities";
447 450
448 #if defined(OS_ANDROID) 451 #if defined(OS_ANDROID)
449 // Last time that a check for cloud policy management was done. This time is 452 // Last time that a check for cloud policy management was done. This time is
450 // recorded on Android so that retries aren't attempted on every startup. 453 // recorded on Android so that retries aren't attempted on every startup.
451 // Instead the cloud policy registration is retried at least 1 or 3 days later. 454 // Instead the cloud policy registration is retried at least 1 or 3 days later.
(...skipping 1892 matching lines...) Expand 10 before | Expand all | Expand 10 after
2344 const char kSearchGeolocationPreDisclosureMetricsRecorded[] = 2347 const char kSearchGeolocationPreDisclosureMetricsRecorded[] =
2345 "search_geolocation_pre_disclosure_metrics_recorded"; 2348 "search_geolocation_pre_disclosure_metrics_recorded";
2346 2349
2347 // Whether the metrics for the state of geolocation post-disclosure being shown 2350 // Whether the metrics for the state of geolocation post-disclosure being shown
2348 // have been recorded. 2351 // have been recorded.
2349 const char kSearchGeolocationPostDisclosureMetricsRecorded[] = 2352 const char kSearchGeolocationPostDisclosureMetricsRecorded[] =
2350 "search_geolocation_post_disclosure_metrics_recorded"; 2353 "search_geolocation_post_disclosure_metrics_recorded";
2351 #endif 2354 #endif
2352 2355
2353 } // namespace prefs 2356 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698