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

Issue 2389063002: [Sync] Fixing easy lint violations. (Closed)

Created:
4 years, 2 months ago by skym
Modified:
4 years, 2 months ago
Reviewers:
maxbogue
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, sync-reviews_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Sync] Fixing easy lint violations. BUG= Committed: https://crrev.com/6d5ecf800a6776d0a58443c323d7c6abcd404a4a Cr-Commit-Position: refs/heads/master@{#422851}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Updated for Max's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -71 lines) Patch
M chrome/browser/sync/chrome_sync_client_unittest.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/sync/glue/extensions_activity_monitor_unittest.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_factory_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_test_util.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/sync/sync_error_notifier_ash.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/sync_error_notifier_ash_unittest.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/sync/sync_ui_util_unittest.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/sync/test/integration/migration_waiter.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/sync/test/integration/preferences_helper.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/test/integration/retry_verifier.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/test/integration/single_client_status_change_checker.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/sync/test/integration/sync_app_helper.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/sync/test/integration/sync_arc_package_helper.h View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/sync/test/integration/sync_arc_package_helper.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/sync/test/integration/two_client_extension_settings_and_app_settings_sync_test.cc View 2 chunks +11 lines, -21 lines 0 comments Download
M components/sync/api/conflict_resolution.cc View 2 chunks +3 lines, -1 line 0 comments Download
M components/sync/api/entity_data.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/api/entity_data.cc View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/api/fake_model_type_service.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/api/fake_model_type_service.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/sync/api/fake_syncable_service.h View 1 chunk +2 lines, -0 lines 0 comments Download
M components/sync/api/mock_model_type_store.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/base/bind_to_task_runner.h View 2 chunks +0 lines, -7 lines 0 comments Download
M components/sync/base/immutable.h View 1 chunk +1 line, -2 lines 0 comments Download
M components/sync/core/activation_context.h View 1 chunk +2 lines, -0 lines 0 comments Download
M components/sync/core/attachments/attachment_downloader_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/core/attachments/attachment_service_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/core/attachments/attachment_uploader_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/core/attachments/on_disk_attachment_store.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/core/internal_components_factory_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/core/model_type_store_backend.h View 1 chunk +1 line, -1 line 0 comments Download
M components/sync/core/model_type_store_backend_unittest.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/sync/core/simple_metadata_change_list.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/core/simple_metadata_change_list_unittest.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/sync/core/test/fake_model_type_connector.h View 1 chunk +2 lines, -0 lines 0 comments Download
M components/sync/core/test/fake_sync_manager.h View 1 chunk +2 lines, -0 lines 0 comments Download
M components/sync/core/test/test_internal_components_factory.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/core/test/test_user_share.h View 1 chunk +2 lines, -0 lines 0 comments Download
M components/sync/core/write_node.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/sync/core_impl/sync_manager_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/device_info/device_info.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/device_info/device_info_service.cc View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/device_info/device_info_service_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/device_info/device_info_sync_service.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/device_info/device_info_tracker.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/driver/backend_migrator.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M components/sync/driver/backend_migrator_unittest.cc View 3 chunks +4 lines, -2 lines 0 comments Download
M components/sync/driver/directory_data_type_controller.h View 1 chunk +2 lines, -1 line 0 comments Download
M components/sync/driver/directory_data_type_controller.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/sync/driver/glue/sync_backend_host_core.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/driver/glue/sync_backend_host_mock.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/driver/non_blocking_data_type_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/sync/driver/startup_controller.h View 1 chunk +2 lines, -0 lines 0 comments Download
M components/sync/driver/startup_controller.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M components/sync/driver/startup_controller_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/sync/engine/cycle/sync_cycle_snapshot.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/engine/cycle/sync_cycle_snapshot.cc View 1 chunk +0 lines, -1 line 0 comments Download
M components/sync/engine_impl/commit.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/sync/engine_impl/commit_processor.cc View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/engine_impl/get_updates_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M components/sync/engine_impl/sync_engine_event_listener.h View 2 chunks +3 lines, -3 lines 0 comments Download
M components/sync/engine_impl/sync_scheduler_impl_unittest.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/sync/syncable/directory_backing_store.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M components/sync/syncable/model_neutral_mutable_entry.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/sync/syncable/parent_child_index_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/sync/syncable/syncable_delete_journal.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/syncable/syncable_delete_journal.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/sync/syncable/write_transaction_info.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/sync/test/engine/mock_connection_manager.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/test/fake_server/android/fake_server_helper_android.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/test/fake_server/android/fake_server_helper_android.cc View 1 chunk +0 lines, -1 line 0 comments Download
M components/sync/test/fake_server/bookmark_entity.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/test/fake_server/bookmark_entity.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M components/sync/test/fake_server/permanent_entity.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/test/fake_server/tombstone_entity.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync_sessions/lost_navigations_recorder.h View 1 chunk +3 lines, -0 lines 0 comments Download
M components/sync_sessions/lost_navigations_recorder_unittest.cc View 2 chunks +1 line, -1 line 0 comments Download
M components/sync_sessions/revisit/current_tab_matcher_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/sync_sessions/revisit/offset_tab_matcher_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/sync_sessions/revisit/sessions_page_revisit_observer_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync_sessions/synced_session_tracker.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync_sessions/synced_session_tracker.cc View 1 chunk +2 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 18 (10 generated)
skym
The command I ran to find lint violations are as follows, with the still outstanding ...
4 years, 2 months ago (2016-10-03 23:46:10 UTC) #3
skym
PTAL
4 years, 2 months ago (2016-10-03 23:46:20 UTC) #5
maxbogue
lgtm w/ one question! Awesome dude. https://codereview.chromium.org/2389063002/diff/1/components/sync/syncable/directory_backing_store.cc File components/sync/syncable/directory_backing_store.cc (left): https://codereview.chromium.org/2389063002/diff/1/components/sync/syncable/directory_backing_store.cc#oldcode238 components/sync/syncable/directory_backing_store.cc:238: const int(&entries_counts)[MODEL_TYPE_COUNT]) { ...
4 years, 2 months ago (2016-10-04 00:11:51 UTC) #7
skym
https://codereview.chromium.org/2389063002/diff/1/components/sync/syncable/directory_backing_store.cc File components/sync/syncable/directory_backing_store.cc (left): https://codereview.chromium.org/2389063002/diff/1/components/sync/syncable/directory_backing_store.cc#oldcode238 components/sync/syncable/directory_backing_store.cc:238: const int(&entries_counts)[MODEL_TYPE_COUNT]) { On 2016/10/04 00:11:51, maxbogue wrote: > ...
4 years, 2 months ago (2016-10-04 15:57:36 UTC) #10
maxbogue
https://codereview.chromium.org/2389063002/diff/1/components/sync/syncable/directory_backing_store.cc File components/sync/syncable/directory_backing_store.cc (left): https://codereview.chromium.org/2389063002/diff/1/components/sync/syncable/directory_backing_store.cc#oldcode238 components/sync/syncable/directory_backing_store.cc:238: const int(&entries_counts)[MODEL_TYPE_COUNT]) { On 2016/10/04 15:57:35, skym wrote: > ...
4 years, 2 months ago (2016-10-04 16:24:45 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2389063002/20001
4 years, 2 months ago (2016-10-04 16:50:43 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-04 17:44:43 UTC) #16
commit-bot: I haz the power
4 years, 2 months ago (2016-10-04 17:48:23 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/6d5ecf800a6776d0a58443c323d7c6abcd404a4a
Cr-Commit-Position: refs/heads/master@{#422851}

Powered by Google App Engine
This is Rietveld 408576698