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

Issue 2868043003: Track task ids for navigations cross multiple tabs. (Closed)

Created:
3 years, 7 months ago by shenchao
Modified:
3 years, 7 months ago
Reviewers:
Nicolas Zea
CC:
chromium-reviews, sync-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Track task ids for navigations cross multiple tabs. This is a following step to generate task ids for navigations. Now we can track navigation relationship cross multiple tabs. If navigation B in tab2 is clicked from navigation A in tab1, then navigation A is B's parent task. And this is generalized to more than 2 tabs. BUG=707978 R=zea@chromium.org Review-Url: https://codereview.chromium.org/2868043003 Cr-Commit-Position: refs/heads/master@{#472667} Committed: https://chromium.googlesource.com/chromium/src/+/854b8bcfc787413293c86eddd979a3fd1936fb1a

Patch Set 1 #

Total comments: 2

Patch Set 2 : Adding max number of tasks from source tab #

Patch Set 3 : using task_ids_ to hold tasks from source tab #

Total comments: 6

Patch Set 4 : fixing nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+245 lines, -33 lines) Patch
M components/sync_sessions/sessions_sync_manager.cc View 1 chunk +5 lines, -1 line 0 comments Download
M components/sync_sessions/sessions_sync_manager_unittest.cc View 1 2 3 6 chunks +91 lines, -5 lines 0 comments Download
M components/sync_sessions/task_tracker.h View 1 2 3 4 chunks +16 lines, -1 line 0 comments Download
M components/sync_sessions/task_tracker.cc View 1 2 3 7 chunks +63 lines, -26 lines 0 comments Download
M components/sync_sessions/task_tracker_unittest.cc View 1 2 2 chunks +70 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (16 generated)
shenchao1
Hi Nicolas, PTAL. Thanks.
3 years, 7 months ago (2017-05-09 17:20:34 UTC) #2
shenchao
3 years, 7 months ago (2017-05-09 17:27:53 UTC) #4
Nicolas Zea
Nice! One main comment. https://codereview.chromium.org/2868043003/diff/1/components/sync_sessions/task_tracker.h File components/sync_sessions/task_tracker.h (right): https://codereview.chromium.org/2868043003/diff/1/components/sync_sessions/task_tracker.h#newcode71 components/sync_sessions/task_tracker.h:71: std::vector<int64_t> source_tab_task_ids_; Why store the ...
3 years, 7 months ago (2017-05-10 00:10:56 UTC) #5
shenchao
On 2017/05/10 00:10:56, Nicolas Zea wrote: > Nice! One main comment. > > https://codereview.chromium.org/2868043003/diff/1/components/sync_sessions/task_tracker.h > ...
3 years, 7 months ago (2017-05-10 17:22:23 UTC) #6
Nicolas Zea
On 2017/05/10 17:22:23, shenchao wrote: > On 2017/05/10 00:10:56, Nicolas Zea wrote: > > Nice! ...
3 years, 7 months ago (2017-05-10 18:09:34 UTC) #7
shenchao
On 2017/05/10 18:09:34, Nicolas Zea wrote: > On 2017/05/10 17:22:23, shenchao wrote: > > On ...
3 years, 7 months ago (2017-05-11 17:56:58 UTC) #8
shenchao
PTAL. Thanks
3 years, 7 months ago (2017-05-11 17:58:41 UTC) #9
Nicolas Zea
The maximum task length really should be applied at the level of what we send ...
3 years, 7 months ago (2017-05-11 19:48:09 UTC) #10
shenchao
using task_ids_ to hold tasks from source tab as suggested. PTAL. Thanks
3 years, 7 months ago (2017-05-15 21:04:45 UTC) #12
Nicolas Zea
LGTM with nits, thanks! https://codereview.chromium.org/2868043003/diff/60001/components/sync_sessions/task_tracker.cc File components/sync_sessions/task_tracker.cc (right): https://codereview.chromium.org/2868043003/diff/60001/components/sync_sessions/task_tracker.cc#newcode192 components/sync_sessions/task_tracker.cc:192: auto iter = local_tab_tasks_map_.find(source_tab_id); nit: ...
3 years, 7 months ago (2017-05-16 17:13:33 UTC) #13
shenchao
https://codereview.chromium.org/2868043003/diff/1/components/sync_sessions/task_tracker.h File components/sync_sessions/task_tracker.h (right): https://codereview.chromium.org/2868043003/diff/1/components/sync_sessions/task_tracker.h#newcode71 components/sync_sessions/task_tracker.h:71: std::vector<int64_t> source_tab_task_ids_; On 2017/05/10 00:10:56, Nicolas Zea wrote: > ...
3 years, 7 months ago (2017-05-17 16:48:16 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/429517)
3 years, 7 months ago (2017-05-17 21:22:18 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2868043003/80001
3 years, 7 months ago (2017-05-17 21:42:13 UTC) #27
commit-bot: I haz the power
Committed patchset #4 (id:80001) as https://chromium.googlesource.com/chromium/src/+/854b8bcfc787413293c86eddd979a3fd1936fb1a
3 years, 7 months ago (2017-05-18 04:43:18 UTC) #30
Nicolas Zea
3 years, 7 months ago (2017-05-23 01:25:12 UTC) #31
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:80001) has been created in
https://codereview.chromium.org/2901533003/ by zea@chromium.org.

The reason for reverting is: crbug.com/725026 and crbug.com/724497.

Powered by Google App Engine
This is Rietveld 408576698