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

Issue 1310323009: Merge duplicate code in invalidation helper. (Closed)

Created:
5 years, 3 months ago by Jitu( very slow this week)
Modified:
5 years, 3 months ago
Reviewers:
droger, Nicolas Zea
CC:
chromium-reviews, tim+watch_chromium.org, pvalenzuela+watch_chromium.org, maxbogue+watch_chromium.org, plaree+watch_chromium.org, zea+watch_chromium.org, Abhishek
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Merge duplicate code in invalidation helper. There is code duplication in: components/sync_driver/invalidation_helper sync/tools/invalidation_helper This patch merged those files by removing duplicate code in sync/tools/invalidation_helper. BUG=528259 Committed: https://crrev.com/de7123741b492a12f35a0cbd7b3e36ff3839a3e6 Cr-Commit-Position: refs/heads/master@{#349849} Committed: https://crrev.com/61dd5d4b919569d5cda3bb100a41b20e9053b6ce Cr-Commit-Position: refs/heads/master@{#349930}

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Total comments: 5

Patch Set 3 : Fixed the GN build issue #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -62 lines) Patch
M sync/tools/BUILD.gn View 1 2 3 4 chunks +3 lines, -2 lines 0 comments Download
M sync/tools/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
D sync/tools/invalidation_helper.h View 1 chunk +0 lines, -21 lines 0 comments Download
D sync/tools/invalidation_helper.cc View 1 chunk +0 lines, -35 lines 0 comments Download
M sync/tools/sync_client.cc View 1 2 2 chunks +1 line, -1 line 0 comments Download
M sync/tools/sync_listen_notifications.cc View 1 2 2 chunks +1 line, -1 line 0 comments Download
M sync/tools/sync_tools.gyp View 1 3 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 31 (6 generated)
Jitu( very slow this week)
PTAL
5 years, 3 months ago (2015-09-09 08:08:11 UTC) #2
droger
Code looks good, although the dependency of //sync on //components looks wrong to me. zea: ...
5 years, 3 months ago (2015-09-09 08:29:08 UTC) #4
Jitu( very slow this week)
https://codereview.chromium.org/1310323009/diff/1/sync/util/invalidation_helper.h File sync/util/invalidation_helper.h (right): https://codereview.chromium.org/1310323009/diff/1/sync/util/invalidation_helper.h#newcode8 sync/util/invalidation_helper.h:8: #include "components/invalidation/public/invalidation_util.h" On 2015/09/09 08:29:08, droger wrote: > Is ...
5 years, 3 months ago (2015-09-09 09:59:04 UTC) #5
droger
https://codereview.chromium.org/1310323009/diff/1/sync/util/invalidation_helper.h File sync/util/invalidation_helper.h (right): https://codereview.chromium.org/1310323009/diff/1/sync/util/invalidation_helper.h#newcode8 sync/util/invalidation_helper.h:8: #include "components/invalidation/public/invalidation_util.h" On 2015/09/09 09:59:04, jitu wrote: > On ...
5 years, 3 months ago (2015-09-09 10:59:15 UTC) #6
Jitu( very slow this week)
On 2015/09/09 10:59:15, droger wrote: > https://codereview.chromium.org/1310323009/diff/1/sync/util/invalidation_helper.h > File sync/util/invalidation_helper.h (right): > > https://codereview.chromium.org/1310323009/diff/1/sync/util/invalidation_helper.h#newcode8 > ...
5 years, 3 months ago (2015-09-10 12:07:47 UTC) #7
droger
It looks like these are dependencies issues in gyp/GN. Before tackling those, lets first sort ...
5 years, 3 months ago (2015-09-10 12:15:05 UTC) #8
Nicolas Zea
On 2015/09/10 12:15:05, droger wrote: > It looks like these are dependencies issues in gyp/GN. ...
5 years, 3 months ago (2015-09-14 19:17:32 UTC) #9
droger
On 2015/09/14 19:17:32, Nicolas Zea wrote: > On 2015/09/10 12:15:05, droger wrote: > > It ...
5 years, 3 months ago (2015-09-15 13:10:35 UTC) #10
Nicolas Zea
Hmm, good question. Both of those are their own target really. Is that a problem ...
5 years, 3 months ago (2015-09-15 20:09:50 UTC) #11
droger
On 2015/09/15 20:09:50, Nicolas Zea wrote: > Hmm, good question. Both of those are their ...
5 years, 3 months ago (2015-09-15 20:59:32 UTC) #12
Nicolas Zea
Right, I'm fine with the tools to components/.
5 years, 3 months ago (2015-09-16 17:55:16 UTC) #13
Jitu( very slow this week)
PTAL!
5 years, 3 months ago (2015-09-18 13:55:26 UTC) #15
droger
LGTM for me. I can look at whether it's possible to move //sync/tools to //components/sync_tools ...
5 years, 3 months ago (2015-09-18 14:01:01 UTC) #16
Nicolas Zea
LGTM, thanks! Moving sync/tools would be nice, but certainly isn't a high priority.
5 years, 3 months ago (2015-09-18 20:37:09 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1310323009/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1310323009/40001
5 years, 3 months ago (2015-09-19 04:36:33 UTC) #19
commit-bot: I haz the power
Committed patchset #2 (id:40001)
5 years, 3 months ago (2015-09-19 04:41:20 UTC) #20
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/de7123741b492a12f35a0cbd7b3e36ff3839a3e6 Cr-Commit-Position: refs/heads/master@{#349849}
5 years, 3 months ago (2015-09-19 04:42:10 UTC) #21
Peter Kasting
A revert of this CL (patchset #2 id:40001) has been created in https://codereview.chromium.org/1357143002/ by pkasting@chromium.org. ...
5 years, 3 months ago (2015-09-19 07:13:30 UTC) #22
droger
I don't understand why this passed the CQ. https://codereview.chromium.org/1310323009/diff/40001/sync/tools/BUILD.gn File sync/tools/BUILD.gn (right): https://codereview.chromium.org/1310323009/diff/40001/sync/tools/BUILD.gn#newcode20 sync/tools/BUILD.gn:20: "//sync", ...
5 years, 3 months ago (2015-09-21 07:17:11 UTC) #23
droger
https://codereview.chromium.org/1310323009/diff/40001/sync/tools/BUILD.gn File sync/tools/BUILD.gn (right): https://codereview.chromium.org/1310323009/diff/40001/sync/tools/BUILD.gn#newcode34 sync/tools/BUILD.gn:34: "//components/invalidation/impl", And probably here too.
5 years, 3 months ago (2015-09-21 07:18:08 UTC) #24
Jitu( very slow this week)
PTAL ! https://codereview.chromium.org/1310323009/diff/40001/sync/tools/BUILD.gn File sync/tools/BUILD.gn (right): https://codereview.chromium.org/1310323009/diff/40001/sync/tools/BUILD.gn#newcode20 sync/tools/BUILD.gn:20: "//sync", On 2015/09/21 07:17:11, droger wrote: > ...
5 years, 3 months ago (2015-09-21 13:03:22 UTC) #25
droger
LGTM with the nit below. https://codereview.chromium.org/1310323009/diff/40001/sync/tools/BUILD.gn File sync/tools/BUILD.gn (right): https://codereview.chromium.org/1310323009/diff/40001/sync/tools/BUILD.gn#newcode34 sync/tools/BUILD.gn:34: "//components/invalidation/impl", On 2015/09/21 13:03:22, ...
5 years, 3 months ago (2015-09-21 13:11:13 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1310323009/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1310323009/80001
5 years, 3 months ago (2015-09-21 14:43:37 UTC) #29
commit-bot: I haz the power
Committed patchset #4 (id:80001)
5 years, 3 months ago (2015-09-21 15:32:16 UTC) #30
commit-bot: I haz the power
5 years, 3 months ago (2015-09-21 15:32:58 UTC) #31
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/61dd5d4b919569d5cda3bb100a41b20e9053b6ce
Cr-Commit-Position: refs/heads/master@{#349930}

Powered by Google App Engine
This is Rietveld 408576698