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

Unified Diff: chrome/browser/io_thread.cc

Issue 530153002: Add build and patch to Chrome-Proxy header (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Full version to auth request handler Created 6 years, 3 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/io_thread.cc
diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc
index e32efc284d5b3ce57a4e06b06901fc9ea12c51bb..caa82bb07c83bc45590036876cd87dfc5b5c295a 100644
--- a/chrome/browser/io_thread.cc
+++ b/chrome/browser/io_thread.cc
@@ -657,10 +657,11 @@ void IOThread::InitAsync() {
drp_flags |= data_reduction_proxy::DataReductionProxyParams::kHoldback;
globals_->data_reduction_proxy_params.reset(
new data_reduction_proxy::DataReductionProxyParams(drp_flags));
+ chrome::VersionInfo version_info;
globals_->data_reduction_proxy_auth_request_handler.reset(
new data_reduction_proxy::DataReductionProxyAuthRequestHandler(
DataReductionProxyChromeSettings::GetClient(),
- DataReductionProxyChromeSettings::GetBuildAndPatchNumber(),
+ version_info.Version(),
mmenke 2014/09/04 19:12:10 nit: You can just use "chrome::VersionInfo().Vers
megjablon 2014/09/04 19:16:36 Done.
globals_->data_reduction_proxy_params.get(),
BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO)));
// This is the same as in ProfileImplIOData except that we do not collect

Powered by Google App Engine
This is Rietveld 408576698