|
[Sync] Made some sync session member functions const
In particular, split SyncSession::status_controller() into status_controller()
and mutable_status_controller().
Also remove some dead code.
Propagate const methods throughout sync code.
This is in preparation for an upcoming change that makes
ModelChangingSyncerCommand post on only the threads it needs to.
BUG= 97832
TEST=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111329
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+373 lines, -358 lines) |
Patch |
 |
M |
chrome/browser/sync/engine/apply_updates_command.cc
|
View
|
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/apply_updates_command_unittest.cc
|
View
|
1
2
3
4
|
11 chunks |
+76 lines, -52 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/build_and_process_conflict_sets_command.cc
|
View
|
1
2
3
4
|
4 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/build_commit_command.cc
|
View
|
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/conflict_resolver.h
|
View
|
1
2
3
4
|
3 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/conflict_resolver.cc
|
View
|
1
2
3
4
|
2 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/download_updates_command.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/download_updates_command.cc
|
View
|
|
2 chunks |
+3 lines, -20 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/download_updates_command_unittest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -62 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/get_commit_ids_command.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/model_changing_syncer_command.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/post_commit_message_command.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/process_commit_response_command.cc
|
View
|
1
2
3
4
|
5 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/process_commit_response_command_unittest.cc
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/process_updates_command.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/resolve_conflicts_command.cc
|
View
|
1
2
3
4
|
2 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/store_timestamps_command.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/sync_scheduler.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/syncer.cc
|
View
|
1
2
3
4
5
6
|
8 chunks |
+12 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/syncer_command.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/syncer_proto_util.cc
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/syncer_unittest.cc
|
View
|
1
2
3
4
|
58 chunks |
+100 lines, -96 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/verify_updates_command.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/verify_updates_command_unittest.cc
|
View
|
1
2
3
4
|
2 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/sessions/session_state.h
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/sessions/session_state.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/sessions/status_controller.h
|
View
|
1
2
3
4
|
5 chunks |
+24 lines, -26 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/sessions/status_controller.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+51 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/sessions/status_controller_unittest.cc
|
View
|
1
2
3
4
|
3 chunks |
+10 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/sessions/sync_session.h
|
View
|
1
2
|
1 chunk |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/sessions/sync_session_context.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/sessions/sync_session_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/sessions/test_util.cc
|
View
|
|
4 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
Total messages: 9 (0 generated)
|