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

Issue 8851006: [Sync] Replace all instances of ModelTypeSet with ModelEnumSet (Closed)

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

Description

[Sync] Replace all instances of ModelTypeSet with ModelEnumSet Also change some functions to return ModelEnumSets directly instead of taking a pointer value. BUG=79970 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113906

Patch Set 1 #

Patch Set 2 : Cleanup #

Total comments: 12

Patch Set 3 : Address comments, fix test failures #

Patch Set 4 : Cleanup pass 1 #

Patch Set 5 : Cleanup pass #2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+874 lines, -1080 lines) Patch
M chrome/browser/automation/testing_automation_provider.cc View 1 2 1 chunk +5 lines, -5 lines 0 comments Download
M chrome/browser/sync/backend_migrator.h View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/sync/backend_migrator.cc View 1 2 3 10 chunks +31 lines, -48 lines 0 comments Download
M chrome/browser/sync/backend_migrator_unittest.cc View 1 19 chunks +58 lines, -60 lines 0 comments Download
M chrome/browser/sync/engine/all_status.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/engine/all_status.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/engine/apply_updates_command_unittest.cc View 1 2 3 11 chunks +35 lines, -30 lines 0 comments Download
M chrome/browser/sync/engine/get_commit_ids_command.h View 4 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/sync/engine/get_commit_ids_command.cc View 1 2 11 chunks +16 lines, -15 lines 0 comments Download
M chrome/browser/sync/engine/nigori_util.h View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/sync/engine/nigori_util.cc View 4 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/sync/engine/nigori_util_unittest.cc View 2 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/sync/engine/syncer_proto_util.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/sync/engine/syncer_proto_util_unittest.cc View 1 4 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/sync/engine/syncer_unittest.cc View 1 2 3 4 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/sync/engine/syncer_util.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/failed_datatypes_handler.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/failed_datatypes_handler.cc View 1 2 3 1 chunk +6 lines, -6 lines 0 comments Download
M chrome/browser/sync/glue/bookmark_model_associator.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/glue/data_type_manager.h View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/sync/glue/data_type_manager_impl.h View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/sync/glue/data_type_manager_impl.cc View 1 2 3 5 chunks +15 lines, -19 lines 0 comments Download
M chrome/browser/sync/glue/data_type_manager_impl_unittest.cc View 16 chunks +24 lines, -24 lines 0 comments Download
M chrome/browser/sync/glue/data_type_manager_mock.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/glue/data_type_manager_mock.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/generic_change_processor.cc View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/sync/glue/session_model_associator.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_host.h View 7 chunks +10 lines, -10 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_host.cc View 13 chunks +25 lines, -29 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_host_mock.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_host_unittest.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_registrar.h View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_registrar.cc View 1 2 3 6 chunks +26 lines, -33 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_registrar_unittest.cc View 1 2 3 4 12 chunks +27 lines, -34 lines 0 comments Download
M chrome/browser/sync/glue/theme_model_associator.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/sync/glue/typed_url_model_associator.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/sync/internal_api/base_transaction.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/internal_api/base_transaction.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/internal_api/debug_info_event_listener.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/internal_api/debug_info_event_listener.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/internal_api/sync_manager.h View 4 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/sync/internal_api/sync_manager.cc View 8 chunks +26 lines, -26 lines 0 comments Download
M chrome/browser/sync/internal_api/syncapi_unittest.cc View 1 2 3 4 14 chunks +27 lines, -19 lines 0 comments Download
M chrome/browser/sync/internal_api/write_node.cc View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/sync/js/js_sync_manager_observer.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/js/js_sync_manager_observer.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/js/js_sync_manager_observer_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.h View 1 2 5 chunks +9 lines, -12 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 1 2 3 4 15 chunks +43 lines, -72 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_harness.h View 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_harness.cc View 1 2 3 15 chunks +49 lines, -87 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_mock.h View 1 chunk +3 lines, -5 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_password_unittest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_startup_unittest.cc View 1 2 3 4 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_typed_url_unittest.cc View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/sync/protocol/sync_protocol_error.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/sessions/sync_session_context.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/sessions/sync_session_context.cc View 2 chunks +7 lines, -8 lines 0 comments Download
M chrome/browser/sync/sessions/sync_session_context_unittest.cc View 1 2 3 4 3 chunks +6 lines, -8 lines 0 comments Download
M chrome/browser/sync/sync_prefs.h View 4 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/sync/sync_prefs.cc View 4 chunks +54 lines, -62 lines 0 comments Download
M chrome/browser/sync/sync_prefs_unittest.cc View 1 2 3 5 chunks +43 lines, -49 lines 0 comments Download
M chrome/browser/sync/sync_setup_flow.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/sync_setup_flow.cc View 1 2 3 2 chunks +21 lines, -22 lines 0 comments Download
M chrome/browser/sync/sync_setup_wizard_unittest.cc View 4 chunks +12 lines, -12 lines 0 comments Download
M chrome/browser/sync/sync_ui_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/syncable/model_type.h View 1 3 chunks +0 lines, -15 lines 0 comments Download
M chrome/browser/sync/syncable/model_type.cc View 1 4 chunks +0 lines, -53 lines 0 comments Download
M chrome/browser/sync/syncable/model_type_unittest.cc View 1 2 3 2 chunks +11 lines, -22 lines 0 comments Download
M chrome/browser/sync/test/integration/enable_disable_test.cc View 1 2 3 2 chunks +22 lines, -22 lines 0 comments Download
M chrome/browser/sync/test/integration/migration_errors_test.cc View 1 2 3 2 chunks +7 lines, -10 lines 0 comments Download
M chrome/browser/sync/util/cryptographer.h View 5 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/sync/util/cryptographer.cc View 1 2 3 5 chunks +40 lines, -43 lines 0 comments Download
M chrome/browser/sync/util/cryptographer_unittest.cc View 1 2 7 chunks +59 lines, -61 lines 0 comments Download
M chrome/browser/ui/webui/sync_setup_handler.cc View 1 2 3 3 chunks +31 lines, -31 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
akalin
+zea for review Some things to watch out for: - A common error I made ...
9 years ago (2011-12-07 18:47:04 UTC) #1
Nicolas Zea
LGTM with nits and assuming those trybot failures are unrelated (they look suspicious) http://codereview.chromium.org/8851006/diff/3001/chrome/browser/sync/engine/apply_updates_command_unittest.cc File ...
9 years ago (2011-12-08 01:49:36 UTC) #2
akalin
Committing after tests pass http://codereview.chromium.org/8851006/diff/3001/chrome/browser/sync/engine/apply_updates_command_unittest.cc File chrome/browser/sync/engine/apply_updates_command_unittest.cc (right): http://codereview.chromium.org/8851006/diff/3001/chrome/browser/sync/engine/apply_updates_command_unittest.cc#newcode472 chrome/browser/sync/engine/apply_updates_command_unittest.cc:472: EXPECT_TRUE( On 2011/12/08 01:49:37, nzea ...
9 years ago (2011-12-09 19:10:09 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/akalin@chromium.org/8851006/17003
9 years ago (2011-12-09 23:07:52 UTC) #4
commit-bot: I haz the power
9 years ago (2011-12-10 01:00:56 UTC) #5
Change committed as 113906

Powered by Google App Engine
This is Rietveld 408576698