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

Issue 1808333002: Fix GN builds to include build and patch in Chrome-Proxy header. (Closed)

Created:
4 years, 9 months ago by sclittle
Modified:
4 years, 9 months ago
Reviewers:
bengr, brucedawson
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix GN builds to include build and patch in Chrome-Proxy header. Previously, GN builds would not properly include the Chromium version build and patch numbers in the Chrome-Proxy header sent to the Data Reduction Proxy. This CL fixes this, and adds assertions and tests to ensure that the build and patch numbers are always present. BUG=595471 Committed: https://crrev.com/42ff2d30612f173c86a7bf527b246e781d01ec52 Cr-Commit-Position: refs/heads/master@{#381829}

Patch Set 1 #

Total comments: 2

Messages

Total messages: 12 (4 generated)
sclittle
4 years, 9 months ago (2016-03-17 21:02:14 UTC) #2
bengr
lgtm, although I'd be a little surprised if every way the various data reduction proxy ...
4 years, 9 months ago (2016-03-17 21:52:04 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1808333002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1808333002/1
4 years, 9 months ago (2016-03-17 21:52:49 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 9 months ago (2016-03-17 23:18:00 UTC) #6
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/42ff2d30612f173c86a7bf527b246e781d01ec52 Cr-Commit-Position: refs/heads/master@{#381829}
4 years, 9 months ago (2016-03-17 23:19:44 UTC) #8
brucedawson
I'm not sure whether this matters, but this will provoke some discussion. https://codereview.chromium.org/1808333002/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options.cc ...
4 years, 9 months ago (2016-03-19 00:24:32 UTC) #10
sclittle
https://codereview.chromium.org/1808333002/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options.cc (right): https://codereview.chromium.org/1808333002/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options.cc#newcode56 components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options.cc:56: "PRODUCT_VERSION='" PRODUCT_VERSION "' is badly formed."); On 2016/03/19 00:24:32, ...
4 years, 9 months ago (2016-03-19 00:29:46 UTC) #11
brucedawson
4 years, 9 months ago (2016-03-19 00:32:58 UTC) #12
Message was sent while issue was closed.
> Wow, I had no idea. I was relying on the CQ to catch any compilation failures
> like this - would you recommend that I modify this to work with VS 2013, or do
> you think it's fine to leave as-is?

Leave it as is for now. Discussions about when we want to rely on VS 2015 are
already ongoing. There is no VS 2013 try-bot so it was inevitable that this
would happen.

Powered by Google App Engine
This is Rietveld 408576698