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

Unified Diff: net/http/http_server_properties_impl.cc

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_impl.cc
diff --git a/net/http/http_server_properties_impl.cc b/net/http/http_server_properties_impl.cc
index 1def87f71a073d98a6442fae77ec349b59bb9983..ccde66c0b36c08cd79ec6abe0c013baac001a9fc 100644
--- a/net/http/http_server_properties_impl.cc
+++ b/net/http/http_server_properties_impl.cc
@@ -450,4 +450,13 @@ HttpServerPropertiesImpl::ScheduleBrokenAlternateProtocolMappingsExpiration() {
delay);
}
+void HttpServerPropertiesImpl::SetClientVersion(
+ const std::string& client_version) {
+ client_version_ = client_version;
+}
+
+const std::string HttpServerPropertiesImpl::GetClientVersion() const {
+ return client_version_;
+}
+
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698