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

Issue 10908028: Allow the X-Chrome-Variations header to transmit to all ports. (Closed)

Created:
8 years, 3 months ago by SteveT
Modified:
8 years, 3 months ago
CC:
chromium-reviews, darin-cc_chromium.org, brettw-cc_chromium.org, battre
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Allow the X-Chrome-Variations header to transmit to all ports. This is to make internal testing simpler. BUG=145886 TEST=Navigate to a *.google.<TLD> URL with a port other than 80 (or 443 on https). Ensure that the X-Chrome-Variations header is transmitted as part of that request. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=155095

Patch Set 1 #

Patch Set 2 : fix up some tests #

Total comments: 9

Patch Set 3 : rebase #

Patch Set 4 : Addressed isherman naming comments #

Patch Set 5 : correct testcase #

Patch Set 6 : rebase #

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -42 lines) Patch
M chrome/browser/google/google_url_tracker.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/google/google_util.h View 1 2 3 1 chunk +18 lines, -7 lines 0 comments Download
M chrome/browser/google/google_util.cc View 1 2 3 4 5 5 chunks +10 lines, -7 lines 0 comments Download
M chrome/browser/google/google_util_unittest.cc View 1 2 3 4 5 1 chunk +63 lines, -26 lines 0 comments Download
M chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 29 (0 generated)
SteveT
Hi Ilya - mind taking a look at this? I still have to manually test ...
8 years, 3 months ago (2012-08-31 01:31:25 UTC) #1
Ilya Sherman
Please add unit test coverage for this change as well as manually testing it. Otherwise ...
8 years, 3 months ago (2012-08-31 03:05:41 UTC) #2
SteveT
Some responses inline (no code changes yet)... PTAL. https://chromiumcodereview.appspot.com/10908028/diff/7001/chrome/browser/google/google_util.h File chrome/browser/google/google_util.h (right): https://chromiumcodereview.appspot.com/10908028/diff/7001/chrome/browser/google/google_util.h#newcode62 chrome/browser/google/google_util.h:62: // ...
8 years, 3 months ago (2012-08-31 13:29:31 UTC) #3
Ilya Sherman
https://chromiumcodereview.appspot.com/10908028/diff/7001/chrome/browser/google/google_util.h File chrome/browser/google/google_util.h (right): https://chromiumcodereview.appspot.com/10908028/diff/7001/chrome/browser/google/google_util.h#newcode62 chrome/browser/google/google_util.h:62: // ports (80 for http, 443 for https), or ...
8 years, 3 months ago (2012-08-31 19:26:52 UTC) #4
SteveT
Back to you. Thanks for the comments! https://chromiumcodereview.appspot.com/10908028/diff/7001/chrome/browser/google/google_util.h File chrome/browser/google/google_util.h (right): https://chromiumcodereview.appspot.com/10908028/diff/7001/chrome/browser/google/google_util.h#newcode62 chrome/browser/google/google_util.h:62: // ports ...
8 years, 3 months ago (2012-08-31 21:58:16 UTC) #5
Ilya Sherman
LGTM, thanks :)
8 years, 3 months ago (2012-08-31 22:18:48 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevet@chromium.org/10908028/14001
8 years, 3 months ago (2012-09-01 18:43:48 UTC) #7
commit-bot: I haz the power
Failed to apply patch for chrome/browser/google/google_util.cc: While running patch -p1 --forward --force; patching file chrome/browser/google/google_util.cc ...
8 years, 3 months ago (2012-09-01 18:43:51 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevet@chromium.org/10908028/7
8 years, 3 months ago (2012-09-01 19:08:42 UTC) #9
commit-bot: I haz the power
Presubmit check for 10908028-7 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 3 months ago (2012-09-01 19:08:46 UTC) #10
SteveT
Hey Nico - mind taking a look for chrome/OWNERS approval when you have the chance? ...
8 years, 3 months ago (2012-09-01 19:12:07 UTC) #11
Nico
I read the linked bug, web results for "X-Chrome-Variations", the original bug where that was ...
8 years, 3 months ago (2012-09-04 15:34:03 UTC) #12
SteveT
Sorry - should have provided you with more context about this header. This is used ...
8 years, 3 months ago (2012-09-04 15:48:08 UTC) #13
Nico
On Tue, Sep 4, 2012 at 8:48 AM, <stevet@chromium.org> wrote: > Sorry - should have ...
8 years, 3 months ago (2012-09-04 15:58:12 UTC) #14
Steve
The reason we attach this to each request is because we need a close correlation ...
8 years, 3 months ago (2012-09-04 16:22:03 UTC) #15
Nico
google.com is more than just search. This is also sent for all xhrs etc. Maybe ...
8 years, 3 months ago (2012-09-04 17:27:11 UTC) #16
willchan no longer on Chromium
Nico, that's a good question, and I realize now that I didn't review this as ...
8 years, 3 months ago (2012-09-04 22:13:50 UTC) #17
Steve
What do you prefer that we do here? Like I said in an earlier response, ...
8 years, 3 months ago (2012-09-05 14:43:29 UTC) #18
willchan no longer on Chromium
You're just base64 encoding the proto buffer, right? Can we simply have a hard limit ...
8 years, 3 months ago (2012-09-05 18:35:29 UTC) #19
Steve
On Wed, Sep 5, 2012 at 2:35 PM, William Chan (陈智昌) <willchan@chromium.org>wrote: > You're just ...
8 years, 3 months ago (2012-09-05 18:44:09 UTC) #20
willchan no longer on Chromium
On Wed, Sep 5, 2012 at 11:43 AM, Steve Truong <stevet@google.com> wrote: > > > ...
8 years, 3 months ago (2012-09-05 19:21:54 UTC) #21
Steve
On Wed, Sep 5, 2012 at 3:21 PM, William Chan (陈智昌) <willchan@chromium.org>wrote: > On Wed, ...
8 years, 3 months ago (2012-09-05 19:41:03 UTC) #22
willchan no longer on Chromium
On Wed, Sep 5, 2012 at 12:40 PM, Steve Truong <stevet@google.com> wrote: > > > ...
8 years, 3 months ago (2012-09-05 20:17:34 UTC) #23
Steve
On Wed, Sep 5, 2012 at 4:17 PM, William Chan (陈智昌) <willchan@chromium.org>wrote: > On Wed, ...
8 years, 3 months ago (2012-09-05 20:57:15 UTC) #24
willchan no longer on Chromium
That'd be Nico. On Wed, Sep 5, 2012 at 1:56 PM, Steve Truong <stevet@google.com> wrote: ...
8 years, 3 months ago (2012-09-05 20:59:08 UTC) #25
Nico
lgtm then
8 years, 3 months ago (2012-09-05 21:24:21 UTC) #26
SteveT
Thanks! Manual tests looking good. Committing shortly..
8 years, 3 months ago (2012-09-05 23:30:14 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevet@chromium.org/10908028/4005
8 years, 3 months ago (2012-09-05 23:30:38 UTC) #28
commit-bot: I haz the power
8 years, 3 months ago (2012-09-06 01:54:57 UTC) #29
Change committed as 155095

Powered by Google App Engine
This is Rietveld 408576698