SPDY - Added enabling of SPDY/3  and SPDY flow control to
about:flags.

Added command line switches --enable-spdy3 to enable
SPDY/3 and --enable-spdy-flow-control to enable flow control (SPDY/2.1).

Added Field Trials for SPDY/2.1 and SPDY/3. The FieldTrials are enabled
when SPDY/3 and flow control command line options are not chosen.

Removed --use-spdy=v3 and --use-spdy=flow-control options.


BUG=118440,119205
R=willchan
TEST=Netowrk unit tests and browser tests.

Enable SPDY/3 in about:flags and see in chrome://net-internals
that SPDY/2, SPDY/2.1 and SPDY/3 are displayed as the protocols
supported.

Enable SPDY FLow Control in about:flags and see in chrome://net-internals
that SPDY/2 and SPDY/2.1 are displayed as the protocols supported.

Review URL: http://codereview.chromium.org/9766021

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128420 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index d82ddd8e..38f7727 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -441,6 +441,20 @@
     SINGLE_VALUE_TYPE(switches::kEnableHttpPipelining)
   },
   {
+    "enable-spdy3",
+    IDS_FLAGS_ENABLE_SPDY3_NAME,
+    IDS_FLAGS_ENABLE_SPDY3_DESCRIPTION,
+    kOsAll,
+    SINGLE_VALUE_TYPE(switches::kEnableSpdy3)
+  },
+  {
+    "enable-spdy-flow-control",
+    IDS_FLAGS_ENABLE_SPDY_FLOW_CONTROL_NAME,
+    IDS_FLAGS_ENABLE_SPDY_FLOW_CONTROL_DESCRIPTION,
+    kOsAll,
+    SINGLE_VALUE_TYPE(switches::kEnableSpdyFlowControl)
+  },
+  {
     "enable-async-dns",
     IDS_FLAGS_ENABLE_ASYNC_DNS_NAME,
     IDS_FLAGS_ENABLE_ASYNC_DNS_DESCRIPTION,