|
[Sync] Introduce SyncedSessionWindow type.
Because we now need to maintain state outside of the normal SessionWindow
struct, this patch introduces a SyncedSessionWindow type. It wraps a
normal SessionWindow, while allowing tab sync to track additional window
information.
As part of this patch, I've also cleaned up the unused variation ids.
Moving forward, nothing sync specific should need to be in
SessionWindow. We'll probably need to add a wrapper
for SessionTab in the future as well.
The patch itself does not have any behavioral impact, but paves the way for
consuming sync window type information.
BUG= 639009
TBR=bauerb, skuhne, thestig
Review-Url: https://codereview.chromium.org/2499023004
Cr-Commit-Position: refs/heads/master@{#460510}
Committed: https://chromium.googlesource.com/chromium/src/+/325508e90dc01afb4d6332510fc83d39c74c96f0
Total comments: 13
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+194 lines, -207 lines) |
Patch |
|
M |
chrome/browser/android/foreign_session_helper.cc
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/api/sessions/sessions_api.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/sync/test/integration/performance/sessions_sync_perf_test.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/sync/test/integration/sessions_helper.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync/test/integration/sessions_helper.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+16 lines, -16 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync/test/integration/single_client_sessions_sync_test.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/webui/foreign_session_handler.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
components/ntp_snippets/sessions/foreign_sessions_suggestions_provider.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
components/ntp_snippets/sessions/foreign_sessions_suggestions_provider_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
components/sessions/core/session_types.h
|
View
|
1
2
|
2 chunks |
+0 lines, -8 lines |
0 comments
|
Download
|
|
M |
components/sessions/core/session_types.cc
|
View
|
1
|
3 chunks |
+0 lines, -29 lines |
0 comments
|
Download
|
|
M |
components/sessions/core/session_types_unittest.cc
|
View
|
|
4 chunks |
+0 lines, -11 lines |
0 comments
|
Download
|
|
M |
components/sync/protocol/session_specifics.proto
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+4 lines, -5 lines |
0 comments
|
Download
|
|
M |
components/sync_sessions/revisit/sessions_page_revisit_observer.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
components/sync_sessions/revisit/sessions_page_revisit_observer_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+27 lines, -27 lines |
0 comments
|
Download
|
|
M |
components/sync_sessions/session_sync_test_helper.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
components/sync_sessions/sessions_sync_manager.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+5 lines, -9 lines |
0 comments
|
Download
|
|
M |
components/sync_sessions/sessions_sync_manager.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
5 chunks |
+6 lines, -19 lines |
0 comments
|
Download
|
|
M |
components/sync_sessions/sessions_sync_manager_unittest.cc
|
View
|
1
2
3
4
5
6
|
6 chunks |
+23 lines, -10 lines |
0 comments
|
Download
|
|
M |
components/sync_sessions/sync_sessions_metrics.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
components/sync_sessions/sync_sessions_metrics_unittest.cc
|
View
|
|
2 chunks |
+15 lines, -9 lines |
0 comments
|
Download
|
|
M |
components/sync_sessions/synced_session.h
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+20 lines, -7 lines |
0 comments
|
Download
|
|
M |
components/sync_sessions/synced_session.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+18 lines, -2 lines |
0 comments
|
Download
|
|
M |
components/sync_sessions/synced_session_tracker.h
|
View
|
1
2
3
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
components/sync_sessions/synced_session_tracker.cc
|
View
|
1
2
3
4
5
6
|
7 chunks |
+16 lines, -14 lines |
0 comments
|
Download
|
|
M |
components/sync_sessions/synced_session_tracker_unittest.cc
|
View
|
1
2
3
4
5
6
|
9 chunks |
+14 lines, -14 lines |
0 comments
|
Download
|
|
M |
ios/chrome/browser/ui/ntp/recent_tabs/synced_sessions.mm
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 66 (58 generated)
|