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 43e6774ca50f5db090e2967844ccfd4b20ce1f88..12882d4e57e1c6274e9343ba6cd0c3df0d058f10 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,14 @@ class DataReductionProxyChromeSettings |
// get the appropriate pref service. |
virtual void InitDataReductionProxySettings(Profile* profile); |
+ // Using the chrome::VersionInfo version, returns the build and patch portion |
+ // of the string delimited by a period. If the chrome::VersionInfo version |
+ // isn't of the form xx.xx.xx.xx returns an empty string. |
+ static std::string GetBuildAndPatchNumber(); |
+ |
+ // Gets the client type for the data reduction proxy. |
+ static std::string GetClient(); |
+ |
private: |
// Registers the DataReductionProxyEnabled synthetic field trial with |
// the group |data_reduction_proxy_enabled|. |