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

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
« no previous file with comments | « no previous file | chrome/browser/net/http_server_properties_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 an individual setting for a host. Returns true if SpdySetting is
121 // persisted.
122 virtual bool SetSpdySetting(
123 const net::HostPortPair& host_port_pair,
124 const spdy::SpdySetting& setting) OVERRIDE;
125
120 // Clears all spdy_settings. 126 // Clears all spdy_settings.
121 virtual void ClearSpdySettings() OVERRIDE; 127 virtual void ClearSpdySettings() OVERRIDE;
122 128
123 // Returns all SpdySettings mappings. 129 // Returns all SpdySettings mappings.
124 virtual const net::SpdySettingsMap& spdy_settings_map() const OVERRIDE; 130 virtual const net::SpdySettingsMap& spdy_settings_map() const OVERRIDE;
125 131
126 virtual net::HttpPipelinedHostCapability GetPipelineCapability( 132 virtual net::HttpPipelinedHostCapability GetPipelineCapability(
127 const net::HostPortPair& origin) OVERRIDE; 133 const net::HostPortPair& origin) OVERRIDE;
128 134
129 virtual void SetPipelineCapability( 135 virtual void SetPipelineCapability(
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 io_prefs_update_timer_; 224 io_prefs_update_timer_;
219 225
220 scoped_ptr<net::HttpServerPropertiesImpl> http_server_properties_impl_; 226 scoped_ptr<net::HttpServerPropertiesImpl> http_server_properties_impl_;
221 227
222 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesManager); 228 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesManager);
223 }; 229 };
224 230
225 } // namespace chrome_browser_net 231 } // namespace chrome_browser_net
226 232
227 #endif // CHROME_BROWSER_NET_HTTP_SERVER_PROPERTIES_MANAGER_H_ 233 #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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698