|
Refactoring of SessionService into a component part 3.
This CL breaks out the command handling (command creation and session information restore) from |SessionService| into |SessionServiceCommands|, which does have no dependencies on Browser or Content.
Furthermore it breaks out the command handling from |BaseSessionService| into |BaseSessionServiceCommands|. This way the |PersistentTabRestoreService| and the |SessionService| can keep using the base command set which is used by both users.
BUG= 424679
TEST=covered by existing tests
Committed: https://crrev.com/c3aa8cf571c5d0ed92725a15d0cd2c54f7da3b05
Cr-Commit-Position: refs/heads/master@{#302041}
Total comments: 3
Total comments: 9
Total comments: 2
Total comments: 20
Total comments: 2
Total comments: 9
Total comments: 4
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1374 lines, -1254 lines) |
Patch |
 |
M |
chrome/browser/extensions/api/sessions/sessions_api.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sessions/base_session_service.h
|
View
|
1
3
4
5
|
2 chunks |
+0 lines, -60 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sessions/base_session_service.cc
|
View
|
1
3
4
5
|
2 chunks |
+0 lines, -142 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/sessions/base_session_service_commands.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+74 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/sessions/base_session_service_commands.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+151 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sessions/persistent_tab_restore_service.cc
|
View
|
1
2
3
4
5
6
|
6 chunks |
+23 lines, -17 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sessions/persistent_tab_restore_service_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sessions/session_restore.cc
|
View
|
1
2
3
4
5
6
|
5 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sessions/session_service.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
12 chunks |
+30 lines, -144 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sessions/session_service.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
21 chunks |
+77 lines, -841 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/sessions/session_service_commands.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+84 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/sessions/session_service_commands.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+824 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sessions/session_service_test_helper.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sessions/session_service_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
11 chunks |
+26 lines, -25 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/sessions/session_service_utils.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/sessions/session_service_utils.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sessions/session_types.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+10 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sessions/session_types.cc
|
View
|
2
3
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/session_sync_test_helper.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/sessions/sessions_sync_manager.cc
|
View
|
1
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/sessions/sessions_sync_manager_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
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
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
4
5
6
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
Total messages: 29 (3 generated)
|