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

Issue 1408643002: [Sync] Componentize synced_tab_delegate (Closed)

Created:
5 years, 2 months ago by Nicolas Zea
Modified:
5 years, 1 month ago
CC:
blundell+watchlist_chromium.org, chromium-reviews, droger+watchlist_chromium.org, maxbogue, maxbogue+watch_chromium.org, pam+watch_chromium.org, plaree+watch_chromium.org, pvalenzuela+watch_chromium.org, sdefresne+watchlist_chromium.org, skym, tim+watch_chromium.org, zea+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] Componentize synced_tab_delegate SyncedTabDelegate now just returns the data used by Sessions directly, and moves all content interaction into its implementation. As part of this, synced_tab_delegate_desktop becomes obsolete, as the logic to decide which type of synced tab delegate is now just inlined in the NotificationServiceSessionsRouter. In addition, SyncedSessionsUtil has been distributed throughout where it was actually used, and ShouldSyncURL is now a member off the new SyncSessionsClient interface. BUG=512468, 512471 Committed: https://crrev.com/f09345c6dffa2e7f4a7b3ec3a197861fc7b71d24 Cr-Commit-Position: refs/heads/master@{#356240}

Patch Set 1 #

Patch Set 2 : Working tests #

Patch Set 3 : Rebase and self review #

Patch Set 4 : Fix GN #

Patch Set 5 : Fix Android #

Patch Set 6 : Fix GN, self review #

Total comments: 38

Patch Set 7 : Rework ShouldSync into SyncedTabDelegate. Add test for uninteresting tab. Fix integration tests #

Patch Set 8 : Address comments #

Patch Set 9 : Rebase #

Patch Set 10 : Rebase #

Total comments: 1

Patch Set 11 : Rebase and fix test #

Patch Set 12 : Fix unit_tests #

Patch Set 13 : Fix unit_tests #

Patch Set 14 : Limit ui/ DEPS to transition types #

Total comments: 2

Patch Set 15 : Rebase and address Colin's comments #

Patch Set 16 : Rebase #

Patch Set 17 : Rebase and fix android #

Patch Set 18 : Fix test broken by rebase #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+982 lines, -1006 lines) Patch
M chrome/browser/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_navigation_observer.h View 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_navigation_observer.cc View 2 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/sync/chrome_sync_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/sync/chrome_sync_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 5 chunks +52 lines, -1 line 0 comments Download
A chrome/browser/sync/chrome_sync_client_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +58 lines, -0 lines 0 comments Download
M chrome/browser/sync/glue/synced_session_tracker.h View 1 2 3 chunks +9 lines, -1 line 0 comments Download
M chrome/browser/sync/glue/synced_session_tracker.cc View 1 2 3 4 5 6 7 2 chunks +23 lines, -3 lines 0 comments Download
M chrome/browser/sync/glue/synced_session_tracker_unittest.cc View 1 2 3 4 5 6 5 chunks +146 lines, -130 lines 0 comments Download
D chrome/browser/sync/glue/synced_session_util.h View 1 chunk +0 lines, -30 lines 0 comments Download
D chrome/browser/sync/glue/synced_session_util.cc View 1 chunk +0 lines, -37 lines 0 comments Download
D chrome/browser/sync/glue/synced_session_util_unittest.cc View 1 chunk +0 lines, -114 lines 0 comments Download
D chrome/browser/sync/glue/synced_tab_delegate.h View 1 2 1 chunk +0 lines, -96 lines 0 comments Download
D chrome/browser/sync/glue/synced_tab_delegate.cc View 1 2 1 chunk +0 lines, -74 lines 0 comments Download
M chrome/browser/sync/glue/synced_tab_delegate_android.h View 1 2 3 4 5 6 2 chunks +14 lines, -15 lines 0 comments Download
M chrome/browser/sync/glue/synced_tab_delegate_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 5 chunks +19 lines, -34 lines 0 comments Download
D chrome/browser/sync/glue/synced_tab_delegate_desktop.cc View 1 chunk +0 lines, -31 lines 0 comments Download
D chrome/browser/sync/glue/synced_tab_delegate_unittest.cc View 1 2 1 chunk +0 lines, -191 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +9 lines, -12 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +8 lines, -5 lines 0 comments Download
M chrome/browser/sync/sessions/notification_service_sessions_router.h View 1 2 3 4 5 6 7 8 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/sync/sessions/notification_service_sessions_router.cc View 1 2 3 4 5 6 7 chunks +57 lines, -21 lines 0 comments Download
M chrome/browser/sync/sessions/page_revisit_broadcaster.h View 1 2 3 4 5 6 7 8 9 3 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/sync/sessions/page_revisit_broadcaster.cc View 1 2 3 4 5 6 7 8 9 4 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/sync/sessions/sessions_sync_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5 chunks +9 lines, -7 lines 2 comments Download
M chrome/browser/sync/sessions/sessions_sync_manager.cc View 1 2 3 4 5 6 7 8 16 chunks +45 lines, -63 lines 1 comment Download
M chrome/browser/sync/sessions/sessions_sync_manager_unittest.cc View 1 2 3 4 5 6 18 chunks +133 lines, -77 lines 0 comments Download
M chrome/browser/sync/test/integration/sessions_helper.cc View 1 2 3 4 5 6 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/wrench_menu/wrench_menu_controller_unittest.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/ui/sync/browser_synced_window_delegates_getter.h View 1 2 3 4 5 6 3 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/ui/sync/browser_synced_window_delegates_getter.cc View 1 2 3 4 5 6 1 chunk +7 lines, -2 lines 0 comments Download
M chrome/browser/ui/sync/tab_contents_synced_tab_delegate.h View 1 2 3 4 5 6 2 chunks +12 lines, -12 lines 0 comments Download
M chrome/browser/ui/sync/tab_contents_synced_tab_delegate.cc View 1 2 3 4 5 6 6 chunks +65 lines, -25 lines 0 comments Download
M chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +0 lines, -4 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -0 lines 0 comments Download
M components/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -1 line 0 comments Download
M components/components_tests.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -0 lines 0 comments Download
M components/sync_driver/fake_sync_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -0 lines 0 comments Download
M components/sync_driver/fake_sync_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +4 lines, -0 lines 0 comments Download
M components/sync_driver/sync_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +5 lines, -0 lines 0 comments Download
M components/sync_sessions.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +22 lines, -1 line 0 comments Download
M components/sync_sessions/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +22 lines, -0 lines 0 comments Download
M components/sync_sessions/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -0 lines 0 comments Download
A components/sync_sessions/fake_sync_sessions_client.h View 1 2 3 4 5 6 7 8 1 chunk +30 lines, -0 lines 0 comments Download
A components/sync_sessions/fake_sync_sessions_client.cc View 1 2 3 4 5 6 1 chunk +23 lines, -0 lines 0 comments Download
A components/sync_sessions/sync_sessions_client.h View 1 2 3 4 5 6 1 chunk +45 lines, -0 lines 0 comments Download
A components/sync_sessions/sync_sessions_client.cc View 1 chunk +12 lines, -0 lines 0 comments Download
A components/sync_sessions/synced_tab_delegate.h View 1 2 3 4 5 6 1 chunk +73 lines, -0 lines 0 comments Download
A components/sync_sessions/synced_tab_delegate.cc View 1 2 3 4 5 6 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 78 (30 generated)
Nicolas Zea
+Bernhard for Supervised user changes (it's now emitting SerializedNavigationEntries, rather than NavigationEntries) +Pavel for everything ...
5 years, 2 months ago (2015-10-15 21:21:39 UTC) #3
Bernhard Bauer
supervised users LGTM. https://codereview.chromium.org/1408643002/diff/120001/chrome/browser/supervised_user/supervised_user_navigation_observer.h File chrome/browser/supervised_user/supervised_user_navigation_observer.h (right): https://codereview.chromium.org/1408643002/diff/120001/chrome/browser/supervised_user/supervised_user_navigation_observer.h#newcode67 chrome/browser/supervised_user/supervised_user_navigation_observer.h:67: ScopedVector<const sessions::SerializedNavigationEntry> blocked_navigations_; If SerializedNavigationEntry is ...
5 years, 2 months ago (2015-10-16 10:37:33 UTC) #4
blundell
This looks great at a high level :). https://codereview.chromium.org/1408643002/diff/120001/components/sync_sessions/synced_tab_delegate.h File components/sync_sessions/synced_tab_delegate.h (right): https://codereview.chromium.org/1408643002/diff/120001/components/sync_sessions/synced_tab_delegate.h#newcode58 components/sync_sessions/synced_tab_delegate.h:58: virtual ...
5 years, 2 months ago (2015-10-16 10:41:26 UTC) #6
skym
Sorry for the obnoxious nits. https://codereview.chromium.org/1408643002/diff/120001/chrome/browser/sync/glue/synced_tab_delegate_android.h File chrome/browser/sync/glue/synced_tab_delegate_android.h (right): https://codereview.chromium.org/1408643002/diff/120001/chrome/browser/sync/glue/synced_tab_delegate_android.h#newcode30 chrome/browser/sync/glue/synced_tab_delegate_android.h:30: SessionID::id_type GetWindowId() const override; ...
5 years, 2 months ago (2015-10-16 16:55:47 UTC) #9
skym
Sorry for the obnoxious nits. https://codereview.chromium.org/1408643002/diff/120001/chrome/browser/sync/glue/synced_tab_delegate_android.h File chrome/browser/sync/glue/synced_tab_delegate_android.h (right): https://codereview.chromium.org/1408643002/diff/120001/chrome/browser/sync/glue/synced_tab_delegate_android.h#newcode33 chrome/browser/sync/glue/synced_tab_delegate_android.h:33: std::string GetExtensionAppId() const override; ...
5 years, 2 months ago (2015-10-16 16:55:47 UTC) #10
pavely
lgtm with minor comments. https://codereview.chromium.org/1408643002/diff/120001/chrome/browser/sync/chrome_sync_client.h File chrome/browser/sync/chrome_sync_client.h (right): https://codereview.chromium.org/1408643002/diff/120001/chrome/browser/sync/chrome_sync_client.h#newcode59 chrome/browser/sync/chrome_sync_client.h:59: scoped_ptr<SyncSessionsClientImpl> sync_sessions_client_; You can hold ...
5 years, 2 months ago (2015-10-16 21:55:20 UTC) #11
maxbogue
https://codereview.chromium.org/1408643002/diff/120001/chrome/browser/sync/chrome_sync_client.cc File chrome/browser/sync/chrome_sync_client.cc (right): https://codereview.chromium.org/1408643002/diff/120001/chrome/browser/sync/chrome_sync_client.cc#newcode75 chrome/browser/sync/chrome_sync_client.cc:75: // Chrome implementation of SyncSesssionsClient. Needs to be in ...
5 years, 2 months ago (2015-10-17 21:53:58 UTC) #13
Bernhard Bauer
https://codereview.chromium.org/1408643002/diff/120001/chrome/browser/sync/glue/synced_session_tracker.cc File chrome/browser/sync/glue/synced_session_tracker.cc (right): https://codereview.chromium.org/1408643002/diff/120001/chrome/browser/sync/glue/synced_session_tracker.cc#newcode21 chrome/browser/sync/glue/synced_session_tracker.cc:21: for (auto* tab : window.tabs) { On 2015/10/16 21:55:20, ...
5 years, 2 months ago (2015-10-19 08:20:57 UTC) #14
Nicolas Zea
Comments addressed. Pavel/Sky, PTAL, as I had to refactor how the ShouldSync is checked and ...
5 years, 2 months ago (2015-10-20 23:14:42 UTC) #16
skym
lgtm https://codereview.chromium.org/1408643002/diff/120001/chrome/browser/sync/sessions/sessions_sync_manager.cc File chrome/browser/sync/sessions/sessions_sync_manager.cc (right): https://codereview.chromium.org/1408643002/diff/120001/chrome/browser/sync/sessions/sessions_sync_manager.cc#newcode421 chrome/browser/sync/sessions/sessions_sync_manager.cc:421: if (!ShouldSyncTab(sessions_client_, modified_tab)) On 2015/10/20 23:14:42, Nicolas Zea ...
5 years, 2 months ago (2015-10-21 00:38:36 UTC) #17
Bernhard Bauer
https://codereview.chromium.org/1408643002/diff/120001/chrome/browser/supervised_user/supervised_user_navigation_observer.h File chrome/browser/supervised_user/supervised_user_navigation_observer.h (right): https://codereview.chromium.org/1408643002/diff/120001/chrome/browser/supervised_user/supervised_user_navigation_observer.h#newcode67 chrome/browser/supervised_user/supervised_user_navigation_observer.h:67: ScopedVector<const sessions::SerializedNavigationEntry> blocked_navigations_; On 2015/10/20 23:14:41, Nicolas Zea wrote: ...
5 years, 2 months ago (2015-10-21 10:48:34 UTC) #18
pavely
lgtm
5 years, 2 months ago (2015-10-21 18:49:32 UTC) #19
Nicolas Zea
+Avi for ui/base dependency in sync_sessions (SyncedTabDelegate now returns transition types and is moving into ...
5 years, 2 months ago (2015-10-22 00:29:11 UTC) #21
Avi (use Gerrit)
Sigh. page_transition_types doesn't really belong in ui/base, but kinda ended up there because no one ...
5 years, 2 months ago (2015-10-22 01:08:10 UTC) #22
blundell
On 2015/10/22 01:08:10, Avi wrote: > Sigh. > > page_transition_types doesn't really belong in ui/base, ...
5 years, 2 months ago (2015-10-22 06:21:55 UTC) #24
blundell
On 2015/10/22 06:21:55, blundell wrote: > On 2015/10/22 01:08:10, Avi wrote: > > Sigh. > ...
5 years, 2 months ago (2015-10-22 06:24:39 UTC) #25
blundell
On 2015/10/22 06:24:39, blundell wrote: > On 2015/10/22 06:21:55, blundell wrote: > > On 2015/10/22 ...
5 years, 2 months ago (2015-10-22 16:58:49 UTC) #26
Avi (use Gerrit)
On 2015/10/22 16:58:49, blundell wrote: > On 2015/10/22 06:24:39, blundell wrote: > > On 2015/10/22 ...
5 years, 2 months ago (2015-10-22 18:10:03 UTC) #27
Nicolas Zea
On 2015/10/22 18:10:03, Avi wrote: > > Can you make the DEPS file point to ...
5 years, 2 months ago (2015-10-22 18:17:26 UTC) #28
Avi (use Gerrit)
I can approve that. LGTM
5 years, 2 months ago (2015-10-22 21:10:48 UTC) #29
Nicolas Zea
On 2015/10/22 21:10:48, Avi wrote: > I can approve that. > > LGTM Scott, ping ...
5 years, 2 months ago (2015-10-22 21:21:29 UTC) #30
sky
On 2015/10/22 21:21:29, Nicolas Zea wrote: > On 2015/10/22 21:10:48, Avi wrote: > > I ...
5 years, 2 months ago (2015-10-22 23:09:20 UTC) #31
Nicolas Zea
On 2015/10/22 23:09:20, sky wrote: > On 2015/10/22 21:21:29, Nicolas Zea wrote: > > On ...
5 years, 2 months ago (2015-10-22 23:10:40 UTC) #32
sky
LGTM - I'm not an owner of components/BUILD.gn.
5 years, 2 months ago (2015-10-22 23:19:07 UTC) #33
blundell
lgtm once the issues I've outlined are fixed https://codereview.chromium.org/1408643002/diff/300001/components/BUILD.gn File components/BUILD.gn (right): https://codereview.chromium.org/1408643002/diff/300001/components/BUILD.gn#newcode322 components/BUILD.gn:322: "//components/sessions:test_support", ...
5 years, 2 months ago (2015-10-23 06:13:04 UTC) #34
Nicolas Zea
https://codereview.chromium.org/1408643002/diff/300001/components/BUILD.gn File components/BUILD.gn (right): https://codereview.chromium.org/1408643002/diff/300001/components/BUILD.gn#newcode322 components/BUILD.gn:322: "//components/sessions:test_support", On 2015/10/23 06:13:04, blundell wrote: > (a) I ...
5 years, 2 months ago (2015-10-23 22:18:15 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1408643002/340001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1408643002/340001
5 years, 2 months ago (2015-10-23 22:19:03 UTC) #39
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/121469)
5 years, 2 months ago (2015-10-23 23:42:49 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1408643002/340001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1408643002/340001
5 years, 2 months ago (2015-10-23 23:50:59 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/86475)
5 years, 2 months ago (2015-10-24 02:21:49 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1408643002/340001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1408643002/340001
5 years, 2 months ago (2015-10-24 04:06:50 UTC) #47
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/86596)
5 years, 2 months ago (2015-10-24 08:07:44 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1408643002/340001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1408643002/340001
5 years, 1 month ago (2015-10-26 07:08:20 UTC) #51
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/86739)
5 years, 1 month ago (2015-10-26 09:16:33 UTC) #53
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1408643002/360001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1408643002/360001
5 years, 1 month ago (2015-10-26 18:33:49 UTC) #56
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/70076)
5 years, 1 month ago (2015-10-26 19:18:27 UTC) #58
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1408643002/360001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1408643002/360001
5 years, 1 month ago (2015-10-26 19:27:21 UTC) #60
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/87016)
5 years, 1 month ago (2015-10-26 22:43:14 UTC) #62
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1408643002/380001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1408643002/380001
5 years, 1 month ago (2015-10-27 00:09:12 UTC) #65
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/120634)
5 years, 1 month ago (2015-10-27 00:39:37 UTC) #67
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1408643002/400001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1408643002/400001
5 years, 1 month ago (2015-10-27 04:37:38 UTC) #70
commit-bot: I haz the power
Committed patchset #18 (id:400001)
5 years, 1 month ago (2015-10-27 05:29:59 UTC) #71
commit-bot: I haz the power
Patchset 18 (id:??) landed as https://crrev.com/f09345c6dffa2e7f4a7b3ec3a197861fc7b71d24 Cr-Commit-Position: refs/heads/master@{#356240}
5 years, 1 month ago (2015-10-27 05:30:54 UTC) #72
sdefresne
https://codereview.chromium.org/1408643002/diff/400001/chrome/browser/sync/sessions/sessions_sync_manager.h File chrome/browser/sync/sessions/sessions_sync_manager.h (right): https://codereview.chromium.org/1408643002/diff/400001/chrome/browser/sync/sessions/sessions_sync_manager.h#newcode140 chrome/browser/sync/sessions/sessions_sync_manager.h:140: static GURL GetCurrentVirtualURL(const SyncedTabDelegate& tab_delegate); I think you forgot ...
5 years, 1 month ago (2015-10-28 10:45:46 UTC) #74
sdefresne
https://codereview.chromium.org/1408643002/diff/400001/chrome/browser/sync/sessions/sessions_sync_manager.cc File chrome/browser/sync/sessions/sessions_sync_manager.cc (left): https://codereview.chromium.org/1408643002/diff/400001/chrome/browser/sync/sessions/sessions_sync_manager.cc#oldcode407 chrome/browser/sync/sessions/sessions_sync_manager.cc:407: entry && I think the crash in http://crbug.com/548572 is ...
5 years, 1 month ago (2015-10-28 16:36:31 UTC) #75
sky
On 2015/10/28 16:36:31, sdefresne wrote: > https://codereview.chromium.org/1408643002/diff/400001/chrome/browser/sync/sessions/sessions_sync_manager.cc > File chrome/browser/sync/sessions/sessions_sync_manager.cc (left): > > https://codereview.chromium.org/1408643002/diff/400001/chrome/browser/sync/sessions/sessions_sync_manager.cc#oldcode407 > ...
5 years, 1 month ago (2015-10-28 17:17:16 UTC) #76
Nicolas Zea
On 2015/10/28 17:17:16, sky wrote: > On 2015/10/28 16:36:31, sdefresne wrote: > > > https://codereview.chromium.org/1408643002/diff/400001/chrome/browser/sync/sessions/sessions_sync_manager.cc ...
5 years, 1 month ago (2015-10-28 17:22:34 UTC) #77
sky
5 years, 1 month ago (2015-10-28 17:37:10 UTC) #78
Message was sent while issue was closed.
Thanks!

On Wed, Oct 28, 2015 at 10:22 AM, <zea@chromium.org> wrote:

> On 2015/10/28 17:17:16, sky wrote:
>
>> On 2015/10/28 16:36:31, sdefresne wrote:
>> >
>>
>
>
>
https://codereview.chromium.org/1408643002/diff/400001/chrome/browser/sync/se...
>
>> > File chrome/browser/sync/sessions/sessions_sync_manager.cc (left):
>> >
>> >
>>
>
>
>
https://codereview.chromium.org/1408643002/diff/400001/chrome/browser/sync/se...
>
>> > chrome/browser/sync/sessions/sessions_sync_manager.cc:407: entry &&
>> > I think the crash in http://crbug.com/548572  is due to this change.
>> >
>> > It is possible that entry is null, but
>> SyncedTabDelegate::GetVirtualURLAtIndex()
>> > never checks that the entry returned by
>> GetPossiblyPendingEntryAtIndex() is
>> non
>> > null.
>>
>
> I can readily hit this crash on windows if I middle click trybot result.
>> For
>> example, middle clicking the red linux_chromium_rel_ng link on
>> https://codereview.chromium.org/1414943003/#ps20001 triggers a crash in
>> this
>> code (crash id d749086e34e2a894).
>>
>
> Fix for crash is currently landing via
> https://codereview.chromium.org/1422393002/
>
> https://codereview.chromium.org/1408643002/
>

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698