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

Issue 1066923002: [LogoTracker] Correct fingerprint append in async parameter. (Closed)

Created:
5 years, 8 months ago by justincohen
Modified:
5 years, 8 months ago
Reviewers:
newt (away)
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[LogoTracker] Correct fingerprint append in async parameter. Clients that already set the async parameter (in this case, with 'cta:1'), will end up with query strings with two differeny async parameters, instead of a comma delimited async param. E.g. converts ?async=cta:1&async=es_dfp:123 -> ?async=cta:1,es_dfp:123 BUG=414528 Committed: https://crrev.com/c438c1843041746877c9dc83d9ce63a3c43bb6bb Cr-Commit-Position: refs/heads/master@{#324174} R=newt@chromium.org Committed: https://chromium.googlesource.com/chromium/src/+/89f3945a15ebf0a87cc4b009801fe57d6238b27e

Patch Set 1 #

Patch Set 2 : Format #

Patch Set 3 : Change append_fingerprint_func_ to append_queryparams_func_. #

Total comments: 4

Patch Set 4 : Fix tests and comment nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -42 lines) Patch
M chrome/browser/android/logo_service.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M components/search_provider_logos/google_logo_api.h View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M components/search_provider_logos/google_logo_api.cc View 1 2 3 1 chunk +22 lines, -11 lines 0 comments Download
M components/search_provider_logos/logo_tracker.h View 1 2 3 3 chunks +16 lines, -11 lines 0 comments Download
M components/search_provider_logos/logo_tracker.cc View 1 2 3 chunks +7 lines, -6 lines 0 comments Download
M components/search_provider_logos/logo_tracker_unittest.cc View 1 2 4 chunks +23 lines, -11 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
justincohen
Thoughts?
5 years, 8 months ago (2015-04-07 15:34:50 UTC) #2
newt (away)
I'd prefer to avoid such URL parsing if possible. How about changing append_fingerprint_func_ to append_queryparams_func_, ...
5 years, 8 months ago (2015-04-07 18:01:16 UTC) #3
justincohen
How about this?
5 years, 8 months ago (2015-04-08 01:00:08 UTC) #4
newt (away)
lgtm, thanks! just some comments about comments https://codereview.chromium.org/1066923002/diff/40001/components/search_provider_logos/logo_tracker.h File components/search_provider_logos/logo_tracker.h (right): https://codereview.chromium.org/1066923002/diff/40001/components/search_provider_logos/logo_tracker.h#newcode125 components/search_provider_logos/logo_tracker.h:125: const AppendQueryparamsToLogoURL& ...
5 years, 8 months ago (2015-04-08 01:08:37 UTC) #5
justincohen
https://codereview.chromium.org/1066923002/diff/40001/components/search_provider_logos/logo_tracker.h File components/search_provider_logos/logo_tracker.h (right): https://codereview.chromium.org/1066923002/diff/40001/components/search_provider_logos/logo_tracker.h#newcode125 components/search_provider_logos/logo_tracker.h:125: const AppendQueryparamsToLogoURL& append_fingerprint_func, On 2015/04/08 01:08:37, newt wrote: > ...
5 years, 8 months ago (2015-04-08 01:36:27 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1066923002/60001
5 years, 8 months ago (2015-04-08 01:55:16 UTC) #9
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 8 months ago (2015-04-08 02:14:38 UTC) #10
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/c438c1843041746877c9dc83d9ce63a3c43bb6bb Cr-Commit-Position: refs/heads/master@{#324174}
5 years, 8 months ago (2015-04-08 02:15:41 UTC) #11
newt (away)
5 years, 8 months ago (2015-04-08 19:05:51 UTC) #12
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
89f3945a15ebf0a87cc4b009801fe57d6238b27e.

Powered by Google App Engine
This is Rietveld 408576698