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

Issue 79973002: sync: Route local sessions events to SessionsSyncManager (Closed)

Created:
7 years, 1 month ago by tim (not reviewing)
Modified:
7 years ago
Reviewers:
rlarocque, Nicolas Zea
CC:
chromium-reviews, tim+watch_chromium.org, rsimha+watch_chromium.org, haitaol+watch_chromium.org
Visibility:
Public.

Description

sync: Route local sessions events to SessionsSyncManager Builds on https://codereview.chromium.org/74653002/ What's left after this: - Full reassociation on ProcessSyncChanges errors. - Integration Tests - Stale Session pruning. Since GetActiveEntry is now deprecated, switched to use GetVisibleEntry instead per bug 273710. BUG=98892 R=rlarocque@chromium.org, zea@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238317

Patch Set 1 : #

Total comments: 27

Patch Set 2 : zea's review #

Patch Set 3 : remove NOTIMPLEMENTED #

Patch Set 4 : review + tweaks #

Total comments: 15

Patch Set 5 : Richard's review #

Total comments: 6

Patch Set 6 : zea's review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+520 lines, -98 lines) Patch
M chrome/browser/sync/profile_sync_service.cc View 1 2 3 4 3 chunks +9 lines, -1 line 0 comments Download
A chrome/browser/sync/sessions2/notification_service_sessions_router.h View 1 2 3 4 1 chunk +61 lines, -0 lines 0 comments Download
A chrome/browser/sync/sessions2/notification_service_sessions_router.cc View 1 2 3 4 5 1 chunk +157 lines, -0 lines 0 comments Download
M chrome/browser/sync/sessions2/sessions_sync_manager.h View 1 2 3 4 5 6 chunks +58 lines, -34 lines 0 comments Download
M chrome/browser/sync/sessions2/sessions_sync_manager.cc View 1 2 3 4 6 chunks +49 lines, -23 lines 0 comments Download
M chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc View 1 2 3 4 5 17 chunks +183 lines, -39 lines 0 comments Download
M chrome/browser/ui/sync/tab_contents_synced_tab_delegate.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
tim (not reviewing)
7 years, 1 month ago (2013-11-21 01:41:19 UTC) #1
Nicolas Zea
https://codereview.chromium.org/79973002/diff/80001/chrome/browser/sync/sessions2/notification_service_sessions_router.cc File chrome/browser/sync/sessions2/notification_service_sessions_router.cc (right): https://codereview.chromium.org/79973002/diff/80001/chrome/browser/sync/sessions2/notification_service_sessions_router.cc#newcode21 chrome/browser/sync/sessions2/notification_service_sessions_router.cc:21: nit: remove extra newline https://codereview.chromium.org/79973002/diff/80001/chrome/browser/sync/sessions2/notification_service_sessions_router.h File chrome/browser/sync/sessions2/notification_service_sessions_router.h (right): https://codereview.chromium.org/79973002/diff/80001/chrome/browser/sync/sessions2/notification_service_sessions_router.h#newcode41 ...
7 years, 1 month ago (2013-11-21 02:34:52 UTC) #2
tim (not reviewing)
https://codereview.chromium.org/79973002/diff/80001/chrome/browser/sync/sessions2/notification_service_sessions_router.cc File chrome/browser/sync/sessions2/notification_service_sessions_router.cc (right): https://codereview.chromium.org/79973002/diff/80001/chrome/browser/sync/sessions2/notification_service_sessions_router.cc#newcode21 chrome/browser/sync/sessions2/notification_service_sessions_router.cc:21: On 2013/11/21 02:34:52, Nicolas Zea wrote: > nit: remove ...
7 years, 1 month ago (2013-11-21 21:38:58 UTC) #3
Nicolas Zea
https://codereview.chromium.org/79973002/diff/80001/chrome/browser/sync/sessions2/sessions_sync_manager.cc File chrome/browser/sync/sessions2/sessions_sync_manager.cc (right): https://codereview.chromium.org/79973002/diff/80001/chrome/browser/sync/sessions2/sessions_sync_manager.cc#newcode328 chrome/browser/sync/sessions2/sessions_sync_manager.cc:328: if (error.IsSet()) { On 2013/11/21 21:38:59, timsteele wrote: > ...
7 years, 1 month ago (2013-11-22 23:34:51 UTC) #4
tim (not reviewing)
SessionsSyncManagerTest.NotifiedOfRefresh only applies to mobile platforms now due to search / instant NTP revamps, so ...
7 years ago (2013-11-25 18:12:08 UTC) #5
tim (not reviewing)
+Richard in case he has time to give this a look + approval while Nicolas ...
7 years ago (2013-11-27 18:43:37 UTC) #6
rlarocque
Added some comments. I think it's still a good idea to wait until Nicolas gets ...
7 years ago (2013-11-27 22:47:51 UTC) #7
tim (not reviewing)
https://codereview.chromium.org/79973002/diff/480001/chrome/browser/sync/profile_sync_service.cc File chrome/browser/sync/profile_sync_service.cc (right): https://codereview.chromium.org/79973002/diff/480001/chrome/browser/sync/profile_sync_service.cc#newcode201 chrome/browser/sync/profile_sync_service.cc:201: scoped_ptr<SessionsSyncManager::LocalEventRouter> router( On 2013/11/27 22:47:51, rlarocque wrote: > It ...
7 years ago (2013-12-02 18:29:48 UTC) #8
rlarocque
Have you uploaded a new patch? The most recent one I see is #4, which ...
7 years ago (2013-12-02 18:53:52 UTC) #9
tim (not reviewing)
Oops, uploaded to the wrong review! Fixed now. https://codereview.chromium.org/79973002/diff/480001/chrome/browser/sync/profile_sync_service.cc File chrome/browser/sync/profile_sync_service.cc (right): https://codereview.chromium.org/79973002/diff/480001/chrome/browser/sync/profile_sync_service.cc#newcode201 chrome/browser/sync/profile_sync_service.cc:201: scoped_ptr<SessionsSyncManager::LocalEventRouter> ...
7 years ago (2013-12-02 19:50:56 UTC) #10
Nicolas Zea
LGTM with some nits https://codereview.chromium.org/79973002/diff/490001/chrome/browser/sync/sessions2/notification_service_sessions_router.cc File chrome/browser/sync/sessions2/notification_service_sessions_router.cc (right): https://codereview.chromium.org/79973002/diff/490001/chrome/browser/sync/sessions2/notification_service_sessions_router.cc#newcode125 chrome/browser/sync/sessions2/notification_service_sessions_router.cc:125: << type; nit: fix indent ...
7 years ago (2013-12-02 21:41:32 UTC) #11
rlarocque
LGTM.
7 years ago (2013-12-02 22:41:16 UTC) #12
tim (not reviewing)
Thanks! https://codereview.chromium.org/79973002/diff/490001/chrome/browser/sync/sessions2/notification_service_sessions_router.cc File chrome/browser/sync/sessions2/notification_service_sessions_router.cc (right): https://codereview.chromium.org/79973002/diff/490001/chrome/browser/sync/sessions2/notification_service_sessions_router.cc#newcode125 chrome/browser/sync/sessions2/notification_service_sessions_router.cc:125: << type; On 2013/12/02 21:41:33, Nicolas Zea wrote: ...
7 years ago (2013-12-02 23:01:44 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tim@chromium.org/79973002/500001
7 years ago (2013-12-02 23:02:13 UTC) #14
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=195638
7 years ago (2013-12-03 01:05:06 UTC) #15
tim (not reviewing)
7 years ago (2013-12-03 07:34:55 UTC) #16
Message was sent while issue was closed.
Committed patchset #6 manually as r238317 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698