09-25-2015, 06:22 AM
Google's data compression server needs authentication.Authentication string should be provided in google_api_keys.cc
And the returned version should be correct Chromium version in data_reduction_proxy_request_options.cc
Code:
std::string GetSpdyProxyAuthValue() {
return "ac4500dd3b7579186c1b0620614fdb1f7d61f944";
/*
#if defined(SPDY_PROXY_AUTH_VALUE)
return SPDY_PROXY_AUTH_VALUE;
#else
return std::string();
#endif
*/
}
Code:
std::string DataReductionProxyRequestOptions::ChromiumVersion() const {
return "44.0.2403.157";
/*
#if defined(PRODUCT_VERSION)
return PRODUCT_VERSION;
#else
return std::string();
#endif
*/
}