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

Issue 1870003002: Convert //chrome/browser/safe_browsing from scoped_ptr to std::unique_ptr (Closed)

Created:
4 years, 8 months ago by dcheng
Modified:
4 years, 8 months ago
Reviewers:
Nathan Parker
CC:
chromium-apps-reviews_chromium.org, chromium-reviews, extensions-reviews_chromium.org, grt+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert //chrome/browser/safe_browsing from scoped_ptr to std::unique_ptr BUG=554298 Committed: https://crrev.com/7bacc0eaa9eb6edb22c9e2734e0e57e64e8b4125 Cr-Commit-Position: refs/heads/master@{#386453}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Rebase and address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+899 lines, -793 lines) Patch
M chrome/browser/safe_browsing/browser_feature_extractor.h View 8 chunks +12 lines, -11 lines 0 comments Download
M chrome/browser/safe_browsing/browser_feature_extractor.cc View 7 chunks +13 lines, -13 lines 0 comments Download
M chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc View 3 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/safe_browsing/client_side_detection_host.h View 5 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/safe_browsing/client_side_detection_host.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/safe_browsing/client_side_detection_host_unittest.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/safe_browsing/client_side_detection_service.h View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/safe_browsing/client_side_detection_service.cc View 5 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/safe_browsing/client_side_detection_service_unittest.cc View 5 chunks +9 lines, -8 lines 0 comments Download
M chrome/browser/safe_browsing/client_side_model_loader.h View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/safe_browsing/client_side_model_loader.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/client_side_model_loader_unittest.cc View 3 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/safe_browsing/download_feedback.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/download_feedback.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/download_feedback_service.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/download_feedback_service.cc View 1 chunk +3 lines, -6 lines 0 comments Download
M chrome/browser/safe_browsing/download_protection_service.h View 4 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/safe_browsing/download_protection_service.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/safe_browsing/download_protection_service_unittest.cc View 4 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_mac.cc View 3 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_mac_unittest.cc View 3 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_win.cc View 5 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_win_unittest.cc View 5 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/binary_integrity_incident.h View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/binary_integrity_incident.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/binary_integrity_incident_unittest.cc View 3 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/blacklist_load_analyzer.h View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/blacklist_load_analyzer.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/blacklist_load_analyzer_win.cc View 5 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/blacklist_load_incident.h View 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/blacklist_load_incident.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/blacklist_load_incident_unittest.cc View 2 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/delayed_analysis_callback.h View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/delayed_callback_runner_unittest.cc View 3 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/download_metadata_manager.h View 1 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/download_metadata_manager.cc View 20 chunks +40 lines, -37 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/download_metadata_manager_unittest.cc View 9 chunks +17 lines, -15 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/environment_data_collection_win.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/extension_data_collection.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/extension_data_collection_unittest.cc View 8 chunks +11 lines, -10 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/incident.h View 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/incident.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/incident_receiver.h View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/incident_report_uploader.h View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/incident_report_uploader_impl.h View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/incident_report_uploader_impl.cc View 2 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/incident_report_uploader_impl_unittest.cc View 2 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.h View 9 chunks +16 lines, -15 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc View 23 chunks +54 lines, -48 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/incident_reporting_service_unittest.cc View 20 chunks +45 lines, -35 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/last_download_finder.h View 6 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/last_download_finder.cc View 5 chunks +13 lines, -10 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc View 18 chunks +42 lines, -36 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/mock_incident_receiver.h View 1 chunk +7 lines, -6 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/module_integrity_verifier_win_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/module_load_analyzer.h View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/module_load_analyzer.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/module_load_analyzer_win.cc View 6 chunks +12 lines, -10 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/module_load_analyzer_win_unittest.cc View 3 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/off_domain_inclusion_detector.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/off_domain_inclusion_detector_unittest.cc View 6 chunks +13 lines, -10 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/platform_state_store.h View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/platform_state_store.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/platform_state_store_unittest.cc View 5 chunks +12 lines, -7 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/platform_state_store_win_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/preference_validation_delegate.h View 3 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/preference_validation_delegate.cc View 6 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/preference_validation_delegate_unittest.cc View 10 chunks +19 lines, -17 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/resource_request_detector.h View 3 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/resource_request_detector.cc View 6 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/resource_request_detector_unittest.cc View 6 chunks +12 lines, -10 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/resource_request_incident.h View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/resource_request_incident.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/state_store.h View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/state_store.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/state_store_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/suspicious_module_incident.h View 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/suspicious_module_incident.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/suspicious_module_incident_unittest.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/tracked_preference_incident.h View 3 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/tracked_preference_incident.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/tracked_preference_incident_unittest.cc View 4 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/variations_seed_signature_analyzer.h View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/variations_seed_signature_analyzer.cc View 4 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/variations_seed_signature_incident.h View 2 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/variations_seed_signature_incident.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/variations_seed_signature_incident_unittest.cc View 3 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/safe_browsing/local_database_manager.h View 6 chunks +10 lines, -9 lines 0 comments Download
M chrome/browser/safe_browsing/local_database_manager.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/safe_browsing/local_database_manager_unittest.cc View 3 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/safe_browsing/ping_manager.h View 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/safe_browsing/ping_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/protocol_manager.h View 3 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/safe_browsing/protocol_manager.cc View 4 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/safe_browsing/protocol_manager_helper.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/protocol_manager_unittest.cc View 28 chunks +36 lines, -33 lines 0 comments Download
M chrome/browser/safe_browsing/protocol_parser.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/protocol_parser.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/protocol_parser_unittest.cc View 10 chunks +10 lines, -10 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_database.h View 7 chunks +24 lines, -22 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_database.cc View 16 chunks +26 lines, -20 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_database_unittest.cc View 30 chunks +69 lines, -66 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service.h View 6 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service.cc View 3 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc View 8 chunks +9 lines, -8 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_tab_observer.h View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_tab_observer.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_test.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_util.h View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_util.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/srt_fetcher_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/threat_details.h View 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/threat_details_cache.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/two_phase_uploader.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/two_phase_uploader.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/two_phase_uploader_unittest.cc View 5 chunks +20 lines, -30 lines 0 comments Download
M chrome/browser/safe_browsing/ui_manager.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/ui_manager_unittest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/unverified_download_policy_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (4 generated)
dcheng
This is largely a search and replace. There's probably some IWYU errors (files that don't ...
4 years, 8 months ago (2016-04-08 05:14:02 UTC) #2
Nathan Parker
lgtm I added some comments before reading your "out of scope for this CL" note, ...
4 years, 8 months ago (2016-04-11 17:56:44 UTC) #3
dcheng
https://codereview.chromium.org/1870003002/diff/1/chrome/browser/safe_browsing/download_feedback.h File chrome/browser/safe_browsing/download_feedback.h (right): https://codereview.chromium.org/1870003002/diff/1/chrome/browser/safe_browsing/download_feedback.h#newcode10 chrome/browser/safe_browsing/download_feedback.h:10: #include <memory> On 2016/04/11 17:56:44, Nathan Parker wrote: > ...
4 years, 8 months ago (2016-04-11 18:31:15 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1870003002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1870003002/20001
4 years, 8 months ago (2016-04-11 19:45:03 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-11 20:11:04 UTC) #8
commit-bot: I haz the power
4 years, 8 months ago (2016-04-11 20:12:00 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/7bacc0eaa9eb6edb22c9e2734e0e57e64e8b4125
Cr-Commit-Position: refs/heads/master@{#386453}

Powered by Google App Engine
This is Rietveld 408576698