summaryrefslogtreecommitdiffstats
path: root/chrome/browser/io_thread.h
diff options
context:
space:
mode:
authorrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-03 21:13:14 +0000
committerrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-03 21:13:14 +0000
commitd412ef7bfd9c6d95a776194df2b6433938442d74 (patch)
tree299f17f2652c704d7f28f71ae71fb8c0750a0221 /chrome/browser/io_thread.h
parentb02876a2bc86334ccbbd4dc7fb551cb3a139542d (diff)
downloadchromium_src-d412ef7bfd9c6d95a776194df2b6433938442d74.zip
chromium_src-d412ef7bfd9c6d95a776194df2b6433938442d74.tar.gz
chromium_src-d412ef7bfd9c6d95a776194df2b6433938442d74.tar.bz2
Avoid persisting of QUIC server config information in Stable and Beta
channels. Will delete this flag once we have implemented clearing of QUIC server config information from clearing cookies dialog. r=rch, eroman, sky, jar Review URL: https://codereview.chromium.org/185083002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254562 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/io_thread.h')
-rw-r--r--chrome/browser/io_thread.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h
index 655e405..a41d83f 100644
--- a/chrome/browser/io_thread.h
+++ b/chrome/browser/io_thread.h
@@ -164,6 +164,7 @@ class IOThread : public content::BrowserThreadDelegate {
Optional<bool> enable_quic;
Optional<bool> enable_quic_https;
Optional<bool> enable_quic_pacing;
+ Optional<bool> enable_quic_persist_server_info;
Optional<bool> enable_quic_port_selection;
Optional<size_t> quic_max_packet_length;
Optional<net::QuicVersionVector> quic_supported_versions;
@@ -285,6 +286,10 @@ class IOThread : public content::BrowserThreadDelegate {
bool ShouldEnableQuicPacing(const CommandLine& command_line,
base::StringPiece quic_trial_group);
+ // Returns true if Chromium should persist QUIC server config information to
+ // disk cache.
+ bool ShouldEnableQuicPersistServerInfo(const CommandLine& command_line);
+
// Returns the maximum length for QUIC packets, based on any flags in
// |command_line| or the field trial. Returns 0 if there is an error
// parsing any of the options, or if the default value should be used.