|
|
Move all TabNavigation logic to session_types.{h,cc}
In particular, move the conversion to/from NavigationEntry,
to/from sync_pb::TabNavigation, and pickling/unpickling logic
to member functions of TabNavigation.
Merge TabNavigation and SyncedTabNavigation (i.e., add unique_id and timestamp to TabNavigation).
Mark most TabNavigation accessors ForTest().
Make CreateUpdateTabNavigationCommand() and UpdateTabNavigation() take a TabNavigation instead of an index + NavigationEntry.
Make TabNavigation use default copy constructor and assignment operator. Also do some other misc. cleanups.
Also remove unused field 'unique_id' from sync_pb::TabNavigation.
Use correct indices in session model associator.
Add some unit tests for TabNavigation.
BUG= 128449
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=157491
Total comments: 16
Total comments: 12
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1174 lines, -865 lines) |
Patch |
 |
M |
chrome/browser/sessions/DEPS
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sessions/base_session_service.h
|
View
|
|
2 chunks |
+1 line, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sessions/base_session_service.cc
|
View
|
|
3 chunks |
+5 lines, -89 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sessions/session_restore.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sessions/session_restore_android.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sessions/session_restore_browsertest.cc
|
View
|
1
2
3
|
4 chunks |
+15 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sessions/session_service.h
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sessions/session_service.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+20 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sessions/session_service_test_helper.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sessions/session_service_unittest.cc
|
View
|
1
2
3
|
26 chunks |
+112 lines, -146 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sessions/session_types.h
|
View
|
1
2
3
|
1 chunk |
+80 lines, -78 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sessions/session_types.cc
|
View
|
1
2
3
|
1 chunk |
+379 lines, -77 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/sessions/session_types_test_helper.h
|
View
|
1
2
3
4
5
|
1 chunk |
+60 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/sessions/session_types_test_helper.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+92 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/sessions/session_types_unittest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+246 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sessions/tab_restore_service.cc
|
View
|
|
3 chunks |
+4 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sessions/tab_restore_service_browsertest.cc
|
View
|
1
2
3
|
5 chunks |
+14 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/session_model_associator.h
|
View
|
1
|
2 chunks |
+2 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/session_model_associator.cc
|
View
|
1
|
12 chunks |
+16 lines, -192 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/session_model_associator_unittest.cc
|
View
|
1
2
3
|
16 chunks |
+55 lines, -61 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/synced_session.h
|
View
|
|
1 chunk |
+0 lines, -39 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/synced_session.cc
|
View
|
|
1 chunk |
+0 lines, -43 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/synced_session_tracker.h
|
View
|
|
4 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/synced_session_tracker.cc
|
View
|
|
5 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/synced_session_tracker_unittest.cc
|
View
|
1
2
3
|
7 chunks |
+12 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service_session_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/test/integration/sessions_helper.cc
|
View
|
1
2
3
|
3 chunks |
+14 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/browser_tabrestore.cc
|
View
|
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/history_menu_bridge_unittest.mm
|
View
|
1
2
3
4
5
6
|
4 chunks |
+13 lines, -22 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests.gypi
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|