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

Side by Side Diff: chrome/browser/net/http_server_properties_manager.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 unified diff | Download patch | Annotate | Revision Log
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 #ifndef CHROME_BROWSER_NET_HTTP_SERVER_PROPERTIES_MANAGER_H_ 5 #ifndef CHROME_BROWSER_NET_HTTP_SERVER_PROPERTIES_MANAGER_H_
6 #define CHROME_BROWSER_NET_HTTP_SERVER_PROPERTIES_MANAGER_H_ 6 #define CHROME_BROWSER_NET_HTTP_SERVER_PROPERTIES_MANAGER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 // Gets a reference to the SpdySettings stored for a host. 110 // Gets a reference to the SpdySettings stored for a host.
111 // If no settings are stored, returns an empty set of settings. 111 // If no settings are stored, returns an empty set of settings.
112 virtual const spdy::SpdySettings& GetSpdySettings( 112 virtual const spdy::SpdySettings& GetSpdySettings(
113 const net::HostPortPair& host_port_pair) const OVERRIDE; 113 const net::HostPortPair& host_port_pair) const OVERRIDE;
114 114
115 // Saves settings for a host. Returns true if SpdySettings are persisted. 115 // Saves settings for a host. Returns true if SpdySettings are persisted.
116 virtual bool SetSpdySettings( 116 virtual bool SetSpdySettings(
117 const net::HostPortPair& host_port_pair, 117 const net::HostPortPair& host_port_pair,
118 const spdy::SpdySettings& settings) OVERRIDE; 118 const spdy::SpdySettings& settings) OVERRIDE;
119 119
120 // Saves the setting for a host. Returns true if SpdySetting is persisted.
121 virtual bool SetSpdySetting(
122 const net::HostPortPair& host_port_pair,
123 const spdy::SpdySetting& setting) OVERRIDE;
124
120 // Clears all spdy_settings. 125 // Clears all spdy_settings.
121 virtual void ClearSpdySettings() OVERRIDE; 126 virtual void ClearSpdySettings() OVERRIDE;
122 127
123 // Returns all SpdySettings mappings. 128 // Returns all SpdySettings mappings.
124 virtual const net::SpdySettingsMap& spdy_settings_map() const OVERRIDE; 129 virtual const net::SpdySettingsMap& spdy_settings_map() const OVERRIDE;
125 130
126 virtual net::HttpPipelinedHostCapability GetPipelineCapability( 131 virtual net::HttpPipelinedHostCapability GetPipelineCapability(
127 const net::HostPortPair& origin) OVERRIDE; 132 const net::HostPortPair& origin) OVERRIDE;
128 133
129 virtual void SetPipelineCapability( 134 virtual void SetPipelineCapability(
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 io_prefs_update_timer_; 223 io_prefs_update_timer_;
219 224
220 scoped_ptr<net::HttpServerPropertiesImpl> http_server_properties_impl_; 225 scoped_ptr<net::HttpServerPropertiesImpl> http_server_properties_impl_;
221 226
222 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesManager); 227 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesManager);
223 }; 228 };
224 229
225 } // namespace chrome_browser_net 230 } // namespace chrome_browser_net
226 231
227 #endif // CHROME_BROWSER_NET_HTTP_SERVER_PROPERTIES_MANAGER_H_ 232 #endif // CHROME_BROWSER_NET_HTTP_SERVER_PROPERTIES_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/net/http_server_properties_manager.cc » ('j') | net/http/http_network_layer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698