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

Unified Diff: net/http/http_server_properties.h

Issue 9618002: SPDY - integration of spdy/3 code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698