|
sync: Start moving away from PREV_ID and NEXT_ID
This change replaces serveral instances of Get(PREV_ID) and Get(NEXT_ID)
with calls to the newly introduced GetPredecessorId() and
GetSuccessorId().
This is done in anticipation of the change that will remove PREV_ID and
NEXT_ID entirely. By making this change in advance, that patch will be
smaller and easier to review.
BUG= 145412, 126505
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175599
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+46 lines, -38 lines) |
Patch |
 |
M |
sync/engine/build_commit_command.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
sync/engine/conflict_resolver.cc
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
sync/engine/get_commit_ids_command.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
sync/engine/process_commit_response_command_unittest.cc
|
View
|
1
|
2 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
sync/engine/syncer_unittest.cc
|
View
|
1
|
3 chunks |
+9 lines, -11 lines |
0 comments
|
Download
|
 |
M |
sync/engine/syncer_util.cc
|
View
|
1
|
3 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/base_node.cc
|
View
|
1
2
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/change_reorder_buffer.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
sync/internal_api/write_node.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
sync/syncable/entry.h
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/syncable/entry.cc
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/syncable/mutable_entry.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
sync/syncable/nigori_util.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
sync/syncable/syncable_util.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|