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 72f502680d8ed233185194e99def581fad7c3de3..bc20bd26a41c72c9f2c8fe8b3e7efdfc1ef62b1a 100644 |
--- a/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h |
+++ b/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h |
@@ -51,6 +51,11 @@ class DataReductionProxyChromeSettings |
// isn't of the form xx.xx.xx.xx returns an empty string. |
static std::string GetBuildAndPatchNumber(); |
+ // Using |version|, returns the build and patch portion of the string |
+ // delimited by a period. If |version| isn't of the form xx.xx.xx.xx returns |
+ // an empty string. |
+ static std::string GetBuildAndPatchNumberFromString(std::string version); |
bengr
2014/09/02 22:57:53
This probably shouldn't be public. Make private an
megjablon
2014/09/02 23:11:28
Done.
|
+ |
// Gets the client type for the data reduction proxy. |
static std::string GetClient(); |