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

Unified Diff: components/data_reduction_proxy/core/common/data_reduction_proxy_util.h

Issue 2103223002: Adding version info to the client config request (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lots of changes Created 4 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: components/data_reduction_proxy/core/common/data_reduction_proxy_util.h
diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_util.h b/components/data_reduction_proxy/core/common/data_reduction_proxy_util.h
index 92e1c50cd9b666e29a65f6f1d1193623502cd850..6c424b21a98e1865f1080509ee4e712aa77f591a 100644
--- a/components/data_reduction_proxy/core/common/data_reduction_proxy_util.h
+++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_util.h
@@ -45,20 +45,24 @@ typedef enum { CLIENT_ENUMS_LIST } Client;
#undef CLIENT_ENUM
namespace util {
const char* ChromiumVersion();
void GetChromiumBuildAndPatch(const std::string& version_string,
std::string* build,
std::string* patch);
+void GetChromiumBuildAndPatchAsInts(const std::string& version_string,
RyanSturm 2016/06/28 22:40:24 Add comment
+ uint32_t* build,
+ uint32_t* patch);
+
const char* GetString(Client client);
// Returns true if the request method is idempotent.
bool IsMethodIdempotent(const std::string& method);
GURL AddApiKeyToUrl(const GURL& url);
// Returns whether this is valid for data reduction proxy use. |proxy_info|
// should contain a single DIRECT ProxyServer, |url| should not be WS or WSO,
// and the |method| should be idempotent for this to be eligible.

Powered by Google App Engine
This is Rietveld 408576698