Take a Profile when adding an incident to the incident reporting service.
commit36ef2a703d981ec5f8e277033f5a70cebd9e0a98
authorgrt <grt@chromium.org>
Tue, 3 Feb 2015 13:54:35 +0000 (3 05:54 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 3 Feb 2015 13:55:40 +0000 (3 13:55 +0000)
tree40be4574d4ee05ca08c08b76d55d58c92e98d720
parent211211ea4a842a8fa27660a915ae23970ef0c63c
Take a Profile when adding an incident to the incident reporting service.

This will simplify use of the API for consumers who don't know a
Profile* at the time of getting the callback.

BUG=none
R=robertshield@chromium.org

Review URL: https://codereview.chromium.org/891793002

Cr-Commit-Position: refs/heads/master@{#314328}
22 files changed:
chrome/browser/safe_browsing/incident_reporting/add_incident_callback.h [deleted file]
chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.cc
chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.h
chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_win_unittest.cc
chrome/browser/safe_browsing/incident_reporting/blacklist_load_analyzer.cc
chrome/browser/safe_browsing/incident_reporting/blacklist_load_analyzer.h
chrome/browser/safe_browsing/incident_reporting/blacklist_load_analyzer_win.cc
chrome/browser/safe_browsing/incident_reporting/delayed_analysis_callback.h
chrome/browser/safe_browsing/incident_reporting/incident_receiver.h [new file with mode: 0644]
chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc
chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.h
chrome/browser/safe_browsing/incident_reporting/incident_reporting_service_unittest.cc
chrome/browser/safe_browsing/incident_reporting/mock_incident_receiver.cc [new file with mode: 0644]
chrome/browser/safe_browsing/incident_reporting/mock_incident_receiver.h [new file with mode: 0644]
chrome/browser/safe_browsing/incident_reporting/off_domain_inclusion_detector.h
chrome/browser/safe_browsing/incident_reporting/preference_validation_delegate.cc
chrome/browser/safe_browsing/incident_reporting/preference_validation_delegate.h
chrome/browser/safe_browsing/incident_reporting/preference_validation_delegate_unittest.cc
chrome/browser/safe_browsing/incident_reporting/variations_seed_signature_analyzer.cc
chrome/browser/safe_browsing/incident_reporting/variations_seed_signature_analyzer.h
chrome/chrome_browser.gypi
chrome/chrome_tests_unit.gypi