|
Update sync API to support attachments.
The purpose of this change is to start exposing attachment support in
the sync API. At this point there is no real functionality added.
SyncData and SyncChangeProcessor now know about attachments.
GenericChangeProcessor's ctor now requires an AttachmentService.
Add AttachmentService and FakeAttachmentService.
Update Attachment::Create* methods to return by value.
Make Attachment::CreateId public because it is useful in
sync_data_unittest.cc.
Make some ctors explicit.
BUG= 348624
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260778
Total comments: 26
Total comments: 2
Total comments: 2
Total comments: 7
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1138 lines, -137 lines) |
Patch |
 |
M |
chrome/browser/sync/glue/fake_generic_change_processor.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/generic_change_processor.h
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+11 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/generic_change_processor.cc
|
View
|
1
2
3
4
5
6
7
8
|
9 chunks |
+38 lines, -17 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/generic_change_processor_unittest.cc
|
View
|
1
2
3
|
3 chunks |
+10 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_components_factory_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+16 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service_autofill_unittest.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service_preference_unittest.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
 |
M |
sync/api/attachments/attachment.h
|
View
|
1
2
3
4
|
3 chunks |
+2 lines, -7 lines |
0 comments
|
Download
|
 |
M |
sync/api/attachments/attachment.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
sync/api/attachments/attachment_id.h
|
View
|
1
2
3
4
|
2 chunks |
+29 lines, -4 lines |
0 comments
|
Download
|
 |
M |
sync/api/attachments/attachment_id.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+45 lines, -6 lines |
0 comments
|
Download
|
 |
A |
sync/api/attachments/attachment_service.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+75 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
sync/api/attachments/attachment_service.cc
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
A |
sync/api/attachments/attachment_service_proxy.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+70 lines, -0 lines |
0 comments
|
Download
|
 |
A |
sync/api/attachments/attachment_service_proxy.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+103 lines, -0 lines |
0 comments
|
Download
|
 |
A |
sync/api/attachments/attachment_service_proxy_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+229 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/api/attachments/attachment_store.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
sync/api/attachments/attachment_unittest.cc
|
View
|
1
2
3
4
|
2 chunks |
+10 lines, -11 lines |
0 comments
|
Download
|
 |
A |
sync/api/attachments/fake_attachment_service.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+45 lines, -0 lines |
0 comments
|
Download
|
 |
A |
sync/api/attachments/fake_attachment_service.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+72 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/api/attachments/fake_attachment_store.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
sync/api/attachments/fake_attachment_store.cc
|
View
|
1
2
3
4
|
3 chunks |
+6 lines, -19 lines |
0 comments
|
Download
|
 |
M |
sync/api/attachments/fake_attachment_store_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
sync/api/sync_change_processor.h
|
View
|
1
2
3
|
2 chunks |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/api/sync_data.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
6 chunks |
+75 lines, -7 lines |
0 comments
|
Download
|
 |
M |
sync/api/sync_data.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
4 chunks |
+122 lines, -30 lines |
0 comments
|
Download
|
 |
M |
sync/api/sync_data_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
5 chunks |
+75 lines, -3 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/base_node.cc
|
View
|
1
2
3
4
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/public/DEPS
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/public/base_node.h
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
A |
sync/protocol/attachments.proto
|
View
|
1
2
3
4
|
1 chunk |
+22 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/protocol/proto_value_conversions.h
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/protocol/proto_value_conversions.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/protocol/proto_value_conversions_unittest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/protocol/sync.proto
|
View
|
1
2
3
4
|
3 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
sync/sync_api.gypi
|
View
|
1
2
3
4
5
8
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/sync_proto.gypi
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
sync/sync_tests.gypi
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 18 (0 generated)
|