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

Issue 8772074: [Sync] Convert syncable/ directory to ModelEnumSet (Closed)

Created:
9 years ago by akalin
Modified:
9 years ago
Reviewers:
Nicolas Zea
CC:
chromium-reviews, Raghu Simha, ncarter (slow), tim (not reviewing), Paweł Hajdan Jr.
Visibility:
Public.

Description

[Sync] Convert syncable/ directory to ModelEnumSet First in a series of patches to replace ModelType{Bit,}Set with ModelEnumSet (which will then be renamed to ModelTypeSet). BUG=79970 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113286

Patch Set 1 #

Patch Set 2 : Sync to head, and fix compile errors #

Total comments: 2

Patch Set 3 : Address comments #

Patch Set 4 : Fix typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+615 lines, -530 lines) Patch
M chrome/browser/sync/engine/apply_updates_command.cc View 1 1 chunk +4 lines, -7 lines 0 comments Download
M chrome/browser/sync/engine/cleanup_disabled_types_command.cc View 1 2 chunks +16 lines, -29 lines 0 comments Download
M chrome/browser/sync/engine/cleanup_disabled_types_command_unittest.cc View 5 chunks +19 lines, -22 lines 0 comments Download
M chrome/browser/sync/engine/download_updates_command.cc View 1 2 chunks +12 lines, -10 lines 0 comments Download
M chrome/browser/sync/engine/download_updates_command_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/engine/model_safe_worker.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/engine/model_safe_worker.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/sync/engine/model_safe_worker_unittest.cc View 1 chunk +5 lines, -5 lines 0 comments Download
M chrome/browser/sync/engine/store_timestamps_command.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/engine/sync_scheduler.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/engine/sync_scheduler.cc View 1 4 chunks +15 lines, -16 lines 0 comments Download
M chrome/browser/sync/engine/sync_scheduler_unittest.cc View 1 26 chunks +40 lines, -49 lines 0 comments Download
M chrome/browser/sync/engine/syncer_unittest.cc View 5 chunks +8 lines, -13 lines 0 comments Download
M chrome/browser/sync/internal_api/sync_manager.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/internal_api/sync_manager.cc View 14 chunks +30 lines, -34 lines 0 comments Download
M chrome/browser/sync/internal_api/syncapi_unittest.cc View 6 chunks +15 lines, -26 lines 0 comments Download
M chrome/browser/sync/js/js_mutation_event_observer.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/js/js_mutation_event_observer.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/notifier/chrome_invalidation_client.h View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/sync/notifier/chrome_invalidation_client.cc View 4 chunks +5 lines, -13 lines 0 comments Download
M chrome/browser/sync/notifier/chrome_invalidation_client_unittest.cc View 3 chunks +6 lines, -19 lines 0 comments Download
M chrome/browser/sync/notifier/invalidation_notifier.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/notifier/invalidation_notifier.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/notifier/non_blocking_invalidation_notifier.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/notifier/non_blocking_invalidation_notifier.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/sync/notifier/p2p_notifier.h View 4 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/sync/notifier/p2p_notifier.cc View 1 8 chunks +12 lines, -16 lines 0 comments Download
M chrome/browser/sync/notifier/p2p_notifier_unittest.cc View 9 chunks +20 lines, -26 lines 0 comments Download
M chrome/browser/sync/notifier/registration_manager.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/notifier/registration_manager.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/sync/notifier/registration_manager_unittest.cc View 11 chunks +84 lines, -64 lines 0 comments Download
M chrome/browser/sync/notifier/sync_notifier.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_autofill_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/sessions/session_state.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/sessions/status_controller.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/sessions/sync_session_unittest.cc View 5 chunks +17 lines, -20 lines 0 comments Download
M chrome/browser/sync/syncable/directory_backing_store.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/sync/syncable/directory_change_delegate.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/syncable/model_type.h View 4 chunks +17 lines, -0 lines 0 comments Download
M chrome/browser/sync/syncable/model_type.cc View 4 chunks +55 lines, -0 lines 0 comments Download
M chrome/browser/sync/syncable/model_type_payload_map.h View 1 2 3 1 chunk +6 lines, -6 lines 0 comments Download
M chrome/browser/sync/syncable/model_type_payload_map.cc View 1 chunk +9 lines, -10 lines 0 comments Download
M chrome/browser/sync/syncable/model_type_payload_map_unittest.cc View 1 chunk +2 lines, -4 lines 0 comments Download
A chrome/browser/sync/syncable/model_type_test_util.h View 1 chunk +26 lines, -0 lines 0 comments Download
A chrome/browser/sync/syncable/model_type_test_util.cc View 1 chunk +52 lines, -0 lines 0 comments Download
M chrome/browser/sync/syncable/syncable.h View 4 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/sync/syncable/syncable.cc View 9 chunks +19 lines, -19 lines 0 comments Download
M chrome/browser/sync/syncable/syncable_unittest.cc View 6 chunks +19 lines, -14 lines 0 comments Download
M chrome/browser/sync/syncable/transaction_observer.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/test/engine/mock_connection_manager.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/test/engine/mock_connection_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/test/engine/test_directory_setter_upper.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/test/integration/migration_errors_test.cc View 6 chunks +22 lines, -26 lines 0 comments Download
M chrome/browser/sync/test/integration/sync_test.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/test/integration/sync_test.cc View 2 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/sync/test/null_directory_change_delegate.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/test/null_directory_change_delegate.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/sync/tools/sync_listen_notifications.cc View 1 2 1 chunk +2 lines, -9 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
akalin
+zea for review most (but not all) changes are mechanical.
9 years ago (2011-12-03 03:12:49 UTC) #1
akalin
ping!
9 years ago (2011-12-06 18:43:48 UTC) #2
Nicolas Zea
LGTM with 1 nit and green bots. http://codereview.chromium.org/8772074/diff/2001/chrome/browser/sync/internal_api/sync_manager.cc File chrome/browser/sync/internal_api/sync_manager.cc (right): http://codereview.chromium.org/8772074/diff/2001/chrome/browser/sync/internal_api/sync_manager.cc#newcode1387 chrome/browser/sync/internal_api/sync_manager.cc:1387: for (int ...
9 years ago (2011-12-06 19:31:22 UTC) #3
Nicolas Zea
http://codereview.chromium.org/8772074/diff/2001/chrome/browser/sync/internal_api/sync_manager.cc File chrome/browser/sync/internal_api/sync_manager.cc (right): http://codereview.chromium.org/8772074/diff/2001/chrome/browser/sync/internal_api/sync_manager.cc#newcode1387 chrome/browser/sync/internal_api/sync_manager.cc:1387: for (int i = syncable::FIRST_REAL_MODEL_TYPE; On 2011/12/06 19:31:22, nzea ...
9 years ago (2011-12-06 19:40:16 UTC) #4
akalin
> Actually, disregard, I forgot All() is a static, and you need an object to ...
9 years ago (2011-12-06 19:48:07 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/akalin@chromium.org/8772074/16001
9 years ago (2011-12-06 21:50:43 UTC) #6
commit-bot: I haz the power
9 years ago (2011-12-06 23:37:37 UTC) #7
Change committed as 113286

Powered by Google App Engine
This is Rietveld 408576698