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

Unified Diff: chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h

Issue 430643002: Correcting the version field in the Chrome-Proxy header to be the chromium build and patch number. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing bengr comments Created 6 years, 5 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: chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h
diff --git a/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h b/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h
index f75f20dfdcb93634e5b0670678a8db05eb202132..c0d9098cffb62aef575709a84a50d0089cb8564b 100644
--- a/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h
+++ b/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h
@@ -32,6 +32,10 @@ class DataReductionProxyChromeSettings
// get the appropriate pref service.
virtual void InitDataReductionProxySettings(Profile* profile);
+ // Takes the Chrome version number and returns the build and patch portion
+ // of the string delimited by a period.
+ static std::string GetBuildAndPatchNumber(const std::string& version);
+
private:
DISALLOW_COPY_AND_ASSIGN(DataReductionProxyChromeSettings);
};

Powered by Google App Engine
This is Rietveld 408576698