Chromium Code Reviews| Index: net/http/http_server_properties.h |
| =================================================================== |
| --- net/http/http_server_properties.h (revision 125802) |
| +++ net/http/http_server_properties.h (working copy) |
| @@ -1,4 +1,4 @@ |
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| @@ -19,6 +19,7 @@ |
| NPN_SPDY_1 = 0, |
| NPN_SPDY_2, |
| NPN_SPDY_21, |
| + NPN_SPDY_3, |
| NUM_ALTERNATE_PROTOCOLS, |
| ALTERNATE_PROTOCOL_BROKEN, // The alternate protocol is known to be broken. |
| UNINITIALIZED_ALTERNATE_PROTOCOL, |
| @@ -89,10 +90,15 @@ |
| const HostPortPair& host_port_pair) const = 0; |
| // Saves settings for a host. Returns true if SpdySettings are to be |
| - // persisted. |
| + // persisted. Used by unittests only. |
| virtual bool SetSpdySettings(const HostPortPair& host_port_pair, |
|
Ryan Hamilton
2012/03/09 19:09:58
If this is only used by unit tests, then perhaps w
ramant (doing other things)
2012/03/10 01:14:09
Done.
|
| const spdy::SpdySettings& settings) = 0; |
| + // Saves the setting for a host. Returns true if SpdySetting is to be |
| + // persisted. |
| + virtual bool SetSpdySetting(const HostPortPair& host_port_pair, |
| + const spdy::SpdySetting& setting) = 0; |
| + |
| // Clears all spdy_settings. |
| virtual void ClearSpdySettings() = 0; |