|
[Sync] use base::Time in sync
Make EntryKernel/Entry/BaseNode use base::Time instead of int64s.
Add sync/util/time.h, with utility functions to manage the sync proto
time format.
Store times on disk in proto format instead of the local system.
This requires a database version bump (to 77).
Update SessionChangeProcessor/SessionModelAssociator
to use base::Time, too.
Remove hackish Now() function.
Remove ZeroFields() function, and instead zero-initialize in EntryKernel::EntryKernel() directly.
BUG=
TEST=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=102184
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=102218
Total comments: 10
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+940 lines, -422 lines) |
Patch |
 |
M |
chrome/browser/sync/engine/build_commit_command.cc
|
View
|
|
2 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/process_commit_response_command.cc
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/syncer.cc
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/syncer_proto_util.cc
|
View
|
|
5 chunks |
+11 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/syncer_unittest.cc
|
View
|
1
2
3
4
|
5 chunks |
+9 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/syncer_util.h
|
View
|
|
2 chunks |
+0 lines, -38 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/syncer_util.cc
|
View
|
1
2
3
4
|
4 chunks |
+7 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/session_change_processor.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/session_model_associator.h
|
View
|
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/session_model_associator.cc
|
View
|
1
2
3
4
|
8 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/session_model_associator_unittest.cc
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/internal_api/base_node.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/internal_api/base_node.cc
|
View
|
1
2
3
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/internal_api/syncapi_unittest.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service_session_unittest.cc
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/sessions/sync_session_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/syncable/directory_backing_store.h
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/syncable/directory_backing_store.cc
|
View
|
1
2
3
4
|
9 chunks |
+54 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/syncable/directory_backing_store_unittest.cc
|
View
|
1
2
3
4
5
6
|
20 chunks |
+653 lines, -236 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/syncable/syncable.h
|
View
|
1
2
3
4
5
|
10 chunks |
+40 lines, -14 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/syncable/syncable.cc
|
View
|
1
2
3
4
5
|
10 chunks |
+30 lines, -54 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/syncable/syncable_columns.h
|
View
|
1
2
3
4
5
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/syncable/syncable_enum_conversions.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/syncable/syncable_enum_conversions.cc
|
View
|
|
1 chunk |
+13 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/syncable/syncable_enum_conversions_unittest.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/syncable/syncable_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/util/sqlite_utils.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/sync/util/time.h
|
View
|
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/sync/util/time.cc
|
View
|
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome.gyp
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|