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

Issue 1387253004: [Sync] Creating sync_sessions component, moving revisit logic. (Closed)

Created:
5 years, 2 months ago by skym
Modified:
5 years, 2 months ago
Reviewers:
stanisc, sky, blundell
CC:
chromium-reviews, tim+watch_chromium.org, sdefresne+watchlist_chromium.org, droger+watchlist_chromium.org, zea+watch_chromium.org, blundell+watchlist_chromium.org, maxbogue+watch_chromium.org, pvalenzuela+watch_chromium.org, plaree+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Sync] Creating sync_sessions component, moving revisit logic. BUG=536841 I've decided to abandon the previous typed urls revisit CL which caused us to decide to create the sync_sessions component. That CL was far too messy, doing far too many things. All the same changes should be split among three CLs, this being the first. I've removed all substantive changes from these files, but a few tiny lint/import changes still remain. They're not too difficult to see. stanisc@ - sync owner and primary reviewer for revisit CLs. sky@ - Added you because we're declaring a dependency on components/sessions (and will shortly declare deps on history/core/browser and bookmarks/browser in subsequent CLs, components which you also own). blundell@ - Added you because we're creating a new component. Committed: https://crrev.com/6b9887ef36cf91aa6fe8539565609fd8dc851c12 Cr-Commit-Position: refs/heads/master@{#353395}

Patch Set 1 : [Sync] Creating sync_sessions component, moving revisit logic. #

Total comments: 4

Patch Set 2 : Changed test_support type to source_set #

Patch Set 3 : Removing test_support target. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+231 lines, -1031 lines) Patch
M chrome/browser/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync/sessions/page_revisit_broadcaster.h View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/sync/sessions/page_revisit_broadcaster.cc View 5 chunks +21 lines, -18 lines 0 comments Download
M chrome/browser/sync/sessions/page_revisit_broadcaster_unittest.cc View 1 chunk +31 lines, -32 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/BUILD.gn View 2 chunks +2 lines, -0 lines 0 comments Download
M components/OWNERS View 1 chunk +4 lines, -0 lines 0 comments Download
M components/components.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M components/components_tests.gyp View 1 2 4 chunks +7 lines, -3 lines 0 comments Download
M components/sync_driver.gypi View 1 chunk +0 lines, -8 lines 0 comments Download
M components/sync_driver/BUILD.gn View 2 chunks +0 lines, -11 lines 0 comments Download
D components/sync_driver/revisit/current_tab_matcher.h View 1 chunk +0 lines, -35 lines 0 comments Download
D components/sync_driver/revisit/current_tab_matcher.cc View 1 chunk +0 lines, -46 lines 0 comments Download
D components/sync_driver/revisit/current_tab_matcher_unittest.cc View 1 chunk +0 lines, -114 lines 0 comments Download
D components/sync_driver/revisit/offset_tab_matcher.h View 1 chunk +0 lines, -40 lines 0 comments Download
D components/sync_driver/revisit/offset_tab_matcher.cc View 1 chunk +0 lines, -79 lines 0 comments Download
D components/sync_driver/revisit/offset_tab_matcher_unittest.cc View 1 chunk +0 lines, -186 lines 0 comments Download
D components/sync_driver/revisit/page_equality.h View 1 chunk +0 lines, -26 lines 0 comments Download
D components/sync_driver/revisit/page_visit_observer.h View 1 chunk +0 lines, -36 lines 0 comments Download
D components/sync_driver/revisit/sessions_page_revisit_observer.h View 1 chunk +0 lines, -65 lines 0 comments Download
D components/sync_driver/revisit/sessions_page_revisit_observer.cc View 1 chunk +0 lines, -78 lines 0 comments Download
D components/sync_driver/revisit/sessions_page_revisit_observer_unittest.cc View 1 chunk +0 lines, -194 lines 0 comments Download
A components/sync_sessions.gypi View 1 2 1 chunk +43 lines, -0 lines 0 comments Download
A components/sync_sessions/BUILD.gn View 1 2 1 chunk +40 lines, -0 lines 0 comments Download
A components/sync_sessions/DEPS View 1 chunk +4 lines, -0 lines 0 comments Download
A + components/sync_sessions/OWNERS View 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/sync_sessions/revisit/current_tab_matcher.h View 2 chunks +7 lines, -7 lines 0 comments Download
A + components/sync_sessions/revisit/current_tab_matcher.cc View 2 chunks +3 lines, -3 lines 0 comments Download
A + components/sync_sessions/revisit/current_tab_matcher_unittest.cc View 3 chunks +5 lines, -4 lines 0 comments Download
A + components/sync_sessions/revisit/offset_tab_matcher.h View 2 chunks +7 lines, -7 lines 0 comments Download
A + components/sync_sessions/revisit/offset_tab_matcher.cc View 2 chunks +5 lines, -3 lines 0 comments Download
A + components/sync_sessions/revisit/offset_tab_matcher_unittest.cc View 3 chunks +5 lines, -4 lines 0 comments Download
A + components/sync_sessions/revisit/page_equality.h View 2 chunks +5 lines, -5 lines 0 comments Download
A + components/sync_sessions/revisit/page_visit_observer.h View 2 chunks +10 lines, -6 lines 0 comments Download
A + components/sync_sessions/revisit/sessions_page_revisit_observer.h View 3 chunks +8 lines, -6 lines 0 comments Download
A + components/sync_sessions/revisit/sessions_page_revisit_observer.cc View 4 chunks +13 lines, -9 lines 0 comments Download
A + components/sync_sessions/revisit/sessions_page_revisit_observer_unittest.cc View 3 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 23 (8 generated)
skym
5 years, 2 months ago (2015-10-08 23:39:52 UTC) #3
blundell
component creation LGTM fwiw, I don't think you need to block on sky@ because you're ...
5 years, 2 months ago (2015-10-09 08:55:06 UTC) #4
skym
https://codereview.chromium.org/1387253004/diff/20001/components/sync_sessions.gypi File components/sync_sessions.gypi (right): https://codereview.chromium.org/1387253004/diff/20001/components/sync_sessions.gypi#newcode44 components/sync_sessions.gypi:44: 'target_name': 'sync_sessions_test_support', On 2015/10/09 08:55:06, blundell wrote: > ? ...
5 years, 2 months ago (2015-10-09 15:16:35 UTC) #5
skym
https://codereview.chromium.org/1387253004/diff/20001/components/sync_sessions.gypi File components/sync_sessions.gypi (right): https://codereview.chromium.org/1387253004/diff/20001/components/sync_sessions.gypi#newcode44 components/sync_sessions.gypi:44: 'target_name': 'sync_sessions_test_support', On 2015/10/09 15:16:35, skym wrote: > On ...
5 years, 2 months ago (2015-10-09 17:11:11 UTC) #6
skym
https://codereview.chromium.org/1387253004/diff/20001/components/sync_sessions.gypi File components/sync_sessions.gypi (right): https://codereview.chromium.org/1387253004/diff/20001/components/sync_sessions.gypi#newcode44 components/sync_sessions.gypi:44: 'target_name': 'sync_sessions_test_support', On 2015/10/09 17:11:11, skym wrote: > On ...
5 years, 2 months ago (2015-10-09 17:37:53 UTC) #9
blundell
On 2015/10/09 17:37:53, skym wrote: > https://codereview.chromium.org/1387253004/diff/20001/components/sync_sessions.gypi > File components/sync_sessions.gypi (right): > > https://codereview.chromium.org/1387253004/diff/20001/components/sync_sessions.gypi#newcode44 > ...
5 years, 2 months ago (2015-10-09 18:00:57 UTC) #10
skym
On 2015/10/09 18:00:57, blundell wrote: > On 2015/10/09 17:37:53, skym wrote: > > > https://codereview.chromium.org/1387253004/diff/20001/components/sync_sessions.gypi ...
5 years, 2 months ago (2015-10-09 18:04:23 UTC) #11
stanisc
LGTM Didn't see any issues.
5 years, 2 months ago (2015-10-09 19:12:08 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1387253004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1387253004/100001
5 years, 2 months ago (2015-10-09 19:17:08 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/108270)
5 years, 2 months ago (2015-10-09 19:37:26 UTC) #17
skym
Looks like I don't have the OWNER approvals to CQ this change. ** Presubmit ERRORS ...
5 years, 2 months ago (2015-10-09 19:47:38 UTC) #18
sky
You only need me for the DEPS change, which LGTM
5 years, 2 months ago (2015-10-09 21:47:38 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1387253004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1387253004/100001
5 years, 2 months ago (2015-10-09 21:56:32 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:100001)
5 years, 2 months ago (2015-10-09 22:10:55 UTC) #22
commit-bot: I haz the power
5 years, 2 months ago (2015-10-09 22:11:57 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6b9887ef36cf91aa6fe8539565609fd8dc851c12
Cr-Commit-Position: refs/heads/master@{#353395}

Powered by Google App Engine
This is Rietveld 408576698