Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(522)

Issue 11515009: [sync] Componentize sync: Part 2: Add SYNC_EXPORTs to files in src/sync/ (Closed)

Created:
8 years ago by Raghu Simha
Modified:
8 years ago
Reviewers:
akalin
CC:
chromium-reviews, akalin, Aaron Boodman, chromium-apps-reviews_chromium.org, haitaol1, tim (not reviewing)
Visibility:
Public.

Description

[sync] Componentize sync: Part 2: Add SYNC_EXPORTs to files in src/sync/ One of the long term goals of the sync team is to pull sync code out of chrome.dll and into its own component. As of today, several chrome targets depend on various sync targets as defined in sync.gyp. We'd like to move to a world where all chrome targets outside sync.gyp simply depend on the target sync.gyp:sync, which is built into its own component. This patch sets the stage for full componentization by adding SYNC_EXPORT annotations to classes / methods within src/sync. The final step of breaking off sync into its own component will be done in https://codereview.chromium.org/11412211. BUG=136928 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=172458

Patch Set 1 : #

Total comments: 10

Patch Set 2 : CR Feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+188 lines, -124 lines) Patch
M sync/api/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M sync/api/sync_change.h View 3 chunks +3 lines, -2 lines 0 comments Download
M sync/api/sync_change_processor.h View 3 chunks +3 lines, -2 lines 0 comments Download
M sync/api/sync_data.h View 3 chunks +3 lines, -2 lines 0 comments Download
M sync/api/sync_error.h View 3 chunks +3 lines, -2 lines 0 comments Download
M sync/api/sync_error_factory.h View 2 chunks +3 lines, -2 lines 0 comments Download
M sync/api/sync_merge_result.h View 3 chunks +3 lines, -2 lines 0 comments Download
M sync/api/syncable_service.h View 3 chunks +5 lines, -3 lines 0 comments Download
M sync/internal_api/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M sync/internal_api/public/base/invalidation.h View 3 chunks +3 lines, -2 lines 0 comments Download
M sync/internal_api/public/base/model_type.h View 3 chunks +4 lines, -4 lines 0 comments Download
M sync/internal_api/public/base_node.h View 3 chunks +3 lines, -2 lines 0 comments Download
M sync/internal_api/public/base_transaction.h View 2 chunks +4 lines, -4 lines 0 comments Download
M sync/internal_api/public/change_record.h View 1 3 chunks +3 lines, -2 lines 0 comments Download
M sync/internal_api/public/data_type_association_stats.h View 1 chunk +3 lines, -2 lines 0 comments Download
M sync/internal_api/public/http_bridge.h View 3 chunks +3 lines, -2 lines 0 comments Download
M sync/internal_api/public/http_post_provider_factory.h View 2 chunks +4 lines, -2 lines 0 comments Download
M sync/internal_api/public/internal_components_factory.h View 3 chunks +3 lines, -2 lines 0 comments Download
M sync/internal_api/public/internal_components_factory_impl.h View 2 chunks +4 lines, -2 lines 0 comments Download
M sync/internal_api/public/read_node.h View 3 chunks +3 lines, -2 lines 0 comments Download
M sync/internal_api/public/read_transaction.h View 3 chunks +3 lines, -2 lines 0 comments Download
M sync/internal_api/public/sessions/model_neutral_state.h View 3 chunks +3 lines, -2 lines 0 comments Download
M sync/internal_api/public/sessions/sync_session_snapshot.h View 3 chunks +3 lines, -2 lines 0 comments Download
M sync/internal_api/public/sessions/sync_source_info.h View 3 chunks +3 lines, -2 lines 0 comments Download
M sync/internal_api/public/sync_encryption_handler.h View 1 3 chunks +4 lines, -3 lines 0 comments Download
M sync/internal_api/public/sync_manager.h View 1 4 chunks +5 lines, -4 lines 0 comments Download
M sync/internal_api/public/sync_manager_factory.h View 2 chunks +3 lines, -2 lines 0 comments Download
M sync/internal_api/public/util/sync_string_conversions.h View 1 chunk +5 lines, -4 lines 0 comments Download
M sync/internal_api/public/util/syncer_error.h View 1 2 chunks +4 lines, -2 lines 0 comments Download
M sync/internal_api/public/util/weak_handle.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M sync/internal_api/public/write_node.h View 3 chunks +3 lines, -2 lines 0 comments Download
M sync/internal_api/public/write_transaction.h View 3 chunks +3 lines, -2 lines 0 comments Download
M sync/js/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M sync/js/js_arg_list.h View 2 chunks +3 lines, -2 lines 0 comments Download
M sync/js/js_controller.h View 3 chunks +4 lines, -2 lines 0 comments Download
M sync/js/js_event_details.h View 2 chunks +3 lines, -2 lines 0 comments Download
M sync/js/js_event_handler.h View 2 chunks +4 lines, -2 lines 0 comments Download
M sync/js/sync_js_controller.h View 3 chunks +3 lines, -2 lines 0 comments Download
M sync/notifier/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M sync/notifier/invalidation_state_tracker.h View 3 chunks +3 lines, -2 lines 0 comments Download
M sync/notifier/invalidation_util.h View 4 chunks +6 lines, -5 lines 0 comments Download
M sync/notifier/invalidator_factory.h View 3 chunks +3 lines, -2 lines 0 comments Download
M sync/notifier/invalidator_registrar.h View 3 chunks +3 lines, -2 lines 0 comments Download
M sync/notifier/invalidator_state.h View 3 chunks +3 lines, -2 lines 0 comments Download
M sync/notifier/object_id_invalidation_map.h View 4 chunks +6 lines, -4 lines 0 comments Download
M sync/notifier/p2p_invalidator.h View 4 chunks +4 lines, -3 lines 0 comments Download
M sync/protocol/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M sync/protocol/proto_enum_conversions.h View 3 chunks +3 lines, -2 lines 0 comments Download
M sync/protocol/proto_value_conversions.h View 3 chunks +4 lines, -2 lines 0 comments Download
M sync/protocol/sync_protocol_error.h View 4 chunks +5 lines, -4 lines 0 comments Download
M sync/syncable/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M sync/syncable/directory.h View 1 3 chunks +3 lines, -2 lines 0 comments Download
M sync/syncable/write_transaction.h View 1 chunk +3 lines, -2 lines 0 comments Download
M sync/util/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M sync/util/cryptographer.h View 3 chunks +3 lines, -2 lines 0 comments Download
M sync/util/extensions_activity_monitor.h View 3 chunks +4 lines, -3 lines 0 comments Download
M sync/util/get_session_name.h View 3 chunks +3 lines, -2 lines 0 comments Download
M sync/util/nigori.h View 3 chunks +3 lines, -2 lines 0 comments Download
M sync/util/time.h View 2 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Raghu Simha
8 years ago (2012-12-10 23:07:28 UTC) #1
Raghu Simha
Fred, please review. Thanks.
8 years ago (2012-12-10 23:07:52 UTC) #2
akalin
few questions/comments https://codereview.chromium.org/11515009/diff/4002/sync/internal_api/public/change_record.h File sync/internal_api/public/change_record.h (right): https://codereview.chromium.org/11515009/diff/4002/sync/internal_api/public/change_record.h#newcode35 sync/internal_api/public/change_record.h:35: SYNC_EXPORT const sync_pb::PasswordSpecificsData& unencrypted() const; isn't this ...
8 years ago (2012-12-11 00:02:52 UTC) #3
Raghu Simha
Fred, changes made. PTAL. https://codereview.chromium.org/11515009/diff/4002/sync/internal_api/public/change_record.h File sync/internal_api/public/change_record.h (right): https://codereview.chromium.org/11515009/diff/4002/sync/internal_api/public/change_record.h#newcode35 sync/internal_api/public/change_record.h:35: SYNC_EXPORT const sync_pb::PasswordSpecificsData& unencrypted() const; ...
8 years ago (2012-12-11 01:27:51 UTC) #4
Raghu Simha
Ping.
8 years ago (2012-12-11 21:28:18 UTC) #5
akalin
LGTM! yay!
8 years ago (2012-12-11 21:35:10 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsimha@chromium.org/11515009/1061
8 years ago (2012-12-11 21:38:27 UTC) #7
commit-bot: I haz the power
8 years ago (2012-12-11 23:47:44 UTC) #8
Message was sent while issue was closed.
Change committed as 172458

Powered by Google App Engine
This is Rietveld 408576698