|
sync: remove use of protobuf extensions in protocol to reduce static init overhead.
Instead, we now use optional fields in EntitySpecifics. Because the tag numbers remain
the same, this is a wire-format compatible change.
This incurs a (#datatypes * sizeof(void*))*#sync_items memory cost, due to storing extra pointers. In practice, for a typical account on windows this amounts to < 200k, and the static init cost is believed to be greater.
Note - upcoming features in protobufs may let us eliminate this extra memory overhead.
Also: The testserver tests were broken on ToT due to a bug in _SaveEntry's saving of mtime which is fixed in this patch.
TBR=yoz@chromium.org
TBR=mnissler@chromium.org
TBR=pkasting@chromium.org
TBR=georgey@chromium.org
BUG= 94992, 94925
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=124912
Total comments: 4
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+472 lines, -605 lines) |
Patch |
 |
M |
chrome/browser/extensions/app_notification_manager.cc
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/app_notification_manager_sync_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_service_unittest.cc
|
View
|
1
2
3
4
|
7 chunks |
+7 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_sync_data.cc
|
View
|
|
3 chunks |
+7 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_sync_data_unittest.cc
|
View
|
|
8 chunks |
+9 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/settings/setting_sync_data.cc
|
View
|
1
2
3
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/settings/settings_sync_util.cc
|
View
|
1
2
3
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/prefs/pref_model_associator.cc
|
View
|
1
2
3
|
5 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/search_engines/template_url_service.cc
|
View
|
|
4 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/search_engines/template_url_service_sync_unittest.cc
|
View
|
|
2 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/abstract_profile_sync_service_test.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/api/sync_change_unittest.cc
|
View
|
|
6 chunks |
+6 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/api/sync_data.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/apply_updates_command_unittest.cc
|
View
|
1
2
3
4
|
11 chunks |
+12 lines, -16 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/build_commit_command.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/clear_data_command_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/conflict_resolver.cc
|
View
|
1
2
3
|
1 chunk |
+5 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/download_updates_command_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/nigori_util_unittest.cc
|
View
|
1
2
3
4
|
3 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/process_commit_response_command_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/store_timestamps_command.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/syncapi_internal.cc
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/syncer_proto_util.cc
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/syncer_unittest.cc
|
View
|
1
2
3
4
|
17 chunks |
+32 lines, -42 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/syncer_util.cc
|
View
|
1
2
3
4
|
3 chunks |
+5 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/verify_updates_command_unittest.cc
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/password_change_processor.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/session_change_processor.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/typed_url_change_processor.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/internal_api/base_node.cc
|
View
|
1
2
3
4
|
7 chunks |
+16 lines, -16 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/internal_api/change_record_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/internal_api/syncapi_unittest.cc
|
View
|
1
2
3
4
|
17 chunks |
+25 lines, -30 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/internal_api/write_node.cc
|
View
|
1
2
3
4
|
9 chunks |
+16 lines, -16 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service_autofill_unittest.cc
|
View
|
1
2
3
|
3 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service_preference_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service_session_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/protocol/app_notification_specifics.proto
|
View
|
|
2 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/protocol/app_setting_specifics.proto
|
View
|
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/protocol/app_specifics.proto
|
View
|
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/protocol/autofill_specifics.proto
|
View
|
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/protocol/bookmark_specifics.proto
|
View
|
|
2 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/protocol/extension_setting_specifics.proto
|
View
|
|
2 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/protocol/extension_specifics.proto
|
View
|
|
2 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/protocol/nigori_specifics.proto
|
View
|
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/protocol/password_specifics.proto
|
View
|
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/protocol/preference_specifics.proto
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/protocol/proto_enum_conversions.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/protocol/proto_value_conversions.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/protocol/proto_value_conversions.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+21 lines, -21 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/protocol/proto_value_conversions_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+19 lines, -19 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/protocol/search_engine_specifics.proto
|
View
|
|
2 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/protocol/session_specifics.proto
|
View
|
|
2 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/protocol/sync.proto
|
View
|
1
2
3
4
5
6
|
5 chunks |
+49 lines, -14 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/protocol/theme_specifics.proto
|
View
|
|
2 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/protocol/typed_url_specifics.proto
|
View
|
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/syncable/directory_backing_store.cc
|
View
|
1
2
3
4
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/syncable/directory_backing_store_unittest.cc
|
View
|
1
2
3
|
4 chunks |
+34 lines, -39 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/syncable/model_type.h
|
View
|
1
2
3
4
|
3 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/syncable/model_type.cc
|
View
|
1
2
3
4
|
2 chunks |
+49 lines, -49 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/syncable/syncable.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/syncable/syncable_unittest.cc
|
View
|
1
2
3
4
|
7 chunks |
+14 lines, -16 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/test/engine/mock_connection_manager.cc
|
View
|
1
2
3
4
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/sync/test/engine/proto_extension_validator.h
|
View
|
|
1 chunk |
+0 lines, -55 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/test/integration/sync_test.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/webdata/autocomplete_syncable_service.cc
|
View
|
|
4 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/webdata/autofill_profile_syncable_service.cc
|
View
|
|
4 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/webdata/autofill_profile_syncable_service_unittest.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
net/tools/testserver/chromiumsync.py
|
View
|
1
2
3
4
5
|
11 chunks |
+45 lines, -44 lines |
0 comments
|
Download
|
 |
M |
net/tools/testserver/chromiumsync_test.py
|
View
|
1
2
3
4
5
6
|
3 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
Total messages: 15 (0 generated)
|