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

Issue 1992803002: Use multiple IDs when discarding or merging snippets. (Closed)

Created:
4 years, 7 months ago by tschumann
Modified:
4 years, 7 months ago
Reviewers:
Marc Treib
CC:
chromium-reviews, mcwilliams+watch_chromium.org, dgn+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use multiple IDs when discarding or merging snippets. Changes the discarding and de-duplication logic to take IDs of all snippet sources (these are always URLs in our cases) into account. R=treib@chromium.org BUG=603884 Committed: https://crrev.com/ab78ef3824631e1ef5fffba7c21946d66b9ad84f Cr-Commit-Position: refs/heads/master@{#394539}

Patch Set 1 #

Total comments: 12

Patch Set 2 : first round of comments #

Patch Set 3 : rebased #

Total comments: 9

Patch Set 4 : Next round of fixes. #

Patch Set 5 : fixed new tests (they didn't expect de-duping based on corpus-ids.). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -23 lines) Patch
M components/ntp_snippets/ntp_snippets_service.cc View 1 2 3 3 chunks +21 lines, -13 lines 0 comments Download
M components/ntp_snippets/ntp_snippets_service_unittest.cc View 1 2 3 4 4 chunks +79 lines, -10 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
tschumann
4 years, 7 months ago (2016-05-18 14:38:06 UTC) #1
Marc Treib
https://codereview.chromium.org/1992803002/diff/1/components/ntp_snippets/ntp_snippet.h File components/ntp_snippets/ntp_snippet.h (right): https://codereview.chromium.org/1992803002/diff/1/components/ntp_snippets/ntp_snippet.h#newcode62 components/ntp_snippets/ntp_snippet.h:62: // bridge) and a URL (used by snipets internal ...
4 years, 7 months ago (2016-05-18 15:19:33 UTC) #2
tschumann
https://codereview.chromium.org/1992803002/diff/1/components/ntp_snippets/ntp_snippet.h File components/ntp_snippets/ntp_snippet.h (right): https://codereview.chromium.org/1992803002/diff/1/components/ntp_snippets/ntp_snippet.h#newcode62 components/ntp_snippets/ntp_snippet.h:62: // bridge) and a URL (used by snipets internal ...
4 years, 7 months ago (2016-05-18 17:09:16 UTC) #3
Marc Treib
LGTM with some more (optional) nits https://codereview.chromium.org/1992803002/diff/1/components/ntp_snippets/ntp_snippet.h File components/ntp_snippets/ntp_snippet.h (right): https://codereview.chromium.org/1992803002/diff/1/components/ntp_snippets/ntp_snippet.h#newcode62 components/ntp_snippets/ntp_snippet.h:62: // bridge) and ...
4 years, 7 months ago (2016-05-18 18:58:05 UTC) #4
tschumann
all done. Will submit soon and happy to do follow-up comments in a new changelist. ...
4 years, 7 months ago (2016-05-18 19:23:29 UTC) #5
Marc Treib
Still LGTM, feel free to submit :) https://codereview.chromium.org/1992803002/diff/40001/components/ntp_snippets/ntp_snippets_service.cc File components/ntp_snippets/ntp_snippets_service.cc (right): https://codereview.chromium.org/1992803002/diff/40001/components/ntp_snippets/ntp_snippets_service.cc#newcode168 components/ntp_snippets/ntp_snippets_service.cc:168: for (const ...
4 years, 7 months ago (2016-05-18 19:29:29 UTC) #6
tschumann
newly added unit tests got broken by this change. The fix in this CL isn't ...
4 years, 7 months ago (2016-05-18 19:43:58 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1992803002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1992803002/80001
4 years, 7 months ago (2016-05-18 19:44:54 UTC) #10
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 7 months ago (2016-05-18 20:42:39 UTC) #11
commit-bot: I haz the power
4 years, 7 months ago (2016-05-18 20:45:13 UTC) #13
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/ab78ef3824631e1ef5fffba7c21946d66b9ad84f
Cr-Commit-Position: refs/heads/master@{#394539}

Powered by Google App Engine
This is Rietveld 408576698