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

Side by Side Diff: net/http/http_server_properties.h

Issue 312193005: Pass chrome version and channel in CHLO message to server. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 NET_HTTP_HTTP_SERVER_PROPERTIES_H_ 5 #ifndef NET_HTTP_HTTP_SERVER_PROPERTIES_H_
6 #define NET_HTTP_HTTP_SERVER_PROPERTIES_H_ 6 #define NET_HTTP_HTTP_SERVER_PROPERTIES_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 193
194 // Returns all persistent SPDY settings. 194 // Returns all persistent SPDY settings.
195 virtual const SpdySettingsMap& spdy_settings_map() const = 0; 195 virtual const SpdySettingsMap& spdy_settings_map() const = 0;
196 196
197 virtual void SetServerNetworkStats(const HostPortPair& host_port_pair, 197 virtual void SetServerNetworkStats(const HostPortPair& host_port_pair,
198 NetworkStats stats) = 0; 198 NetworkStats stats) = 0;
199 199
200 virtual const NetworkStats* GetServerNetworkStats( 200 virtual const NetworkStats* GetServerNetworkStats(
201 const HostPortPair& host_port_pair) const = 0; 201 const HostPortPair& host_port_pair) const = 0;
202 202
203 // Saves the client version. It is passed in QUIC's CHLO message.
ramant (doing other things) 2014/06/04 21:47:01 I am not very happy with the comment. Would apprec
204 virtual void SetClientVersion(const std::string& client_version) = 0;
205
206 // Gets the client version set via SetClientVersion.
207 virtual const std::string GetClientVersion() const = 0;
208
203 private: 209 private:
204 DISALLOW_COPY_AND_ASSIGN(HttpServerProperties); 210 DISALLOW_COPY_AND_ASSIGN(HttpServerProperties);
205 }; 211 };
206 212
207 } // namespace net 213 } // namespace net
208 214
209 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_H_ 215 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698