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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: net/http/http_server_properties.h
diff --git a/net/http/http_server_properties.h b/net/http/http_server_properties.h
index 88d1f3cefba5978d3456823a69e81cc63ad44464..c8a8bf427f0b63d5de715302c91c209ad457cc1e 100644
--- a/net/http/http_server_properties.h
+++ b/net/http/http_server_properties.h
@@ -200,6 +200,12 @@ class NET_EXPORT HttpServerProperties {
virtual const NetworkStats* GetServerNetworkStats(
const HostPortPair& host_port_pair) const = 0;
+ // 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
+ virtual void SetClientVersion(const std::string& client_version) = 0;
+
+ // Gets the client version set via SetClientVersion.
+ virtual const std::string GetClientVersion() const = 0;
+
private:
DISALLOW_COPY_AND_ASSIGN(HttpServerProperties);
};

Powered by Google App Engine
This is Rietveld 408576698