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

Issue 891793002: Take a Profile when adding an incident to the incident reporting service. (Closed)

Created:
5 years, 10 months ago by grt (UTC plus 2)
Modified:
5 years, 10 months ago
Reviewers:
robertshield
CC:
chromium-reviews, 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

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 Committed: https://crrev.com/36ef2a703d981ec5f8e277033f5a70cebd9e0a98 Cr-Commit-Position: refs/heads/master@{#314328}

Patch Set 1 #

Patch Set 2 : comment and formatting #

Total comments: 2

Patch Set 3 : Introduced IncidentReceiver interface in place of AddIncidentCallback. #

Patch Set 4 : clang pleaser #

Patch Set 5 : this time #

Total comments: 2

Patch Set 6 : sync to r314185 #

Patch Set 7 : OnMainThread #

Unified diffs Side-by-side diffs Delta from patch set Stats (+282 lines, -140 lines) Patch
M chrome/browser/safe_browsing/incident_reporting/add_incident_callback.h View 1 2 1 chunk +0 lines, -21 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.h View 1 2 3 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.cc View 1 2 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_win_unittest.cc View 1 2 4 chunks +15 lines, -24 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/blacklist_load_analyzer.h View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/blacklist_load_analyzer.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/blacklist_load_analyzer_win.cc View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/delayed_analysis_callback.h View 1 2 1 chunk +5 lines, -3 lines 0 comments Download
A chrome/browser/safe_browsing/incident_reporting/incident_receiver.h View 1 2 1 chunk +33 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.h View 1 2 6 chunks +10 lines, -11 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc View 1 2 3 4 5 6 6 chunks +76 lines, -34 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/incident_reporting_service_unittest.cc View 1 2 6 chunks +15 lines, -8 lines 0 comments Download
A chrome/browser/safe_browsing/incident_reporting/mock_incident_receiver.h View 1 2 3 1 chunk +45 lines, -0 lines 0 comments Download
A chrome/browser/safe_browsing/incident_reporting/mock_incident_receiver.cc View 1 2 3 4 1 chunk +15 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/off_domain_inclusion_detector.h View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/preference_validation_delegate.h View 1 2 2 chunks +11 lines, -6 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/preference_validation_delegate.cc View 1 2 4 chunks +11 lines, -7 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/preference_validation_delegate_unittest.cc View 1 2 2 chunks +12 lines, -6 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/variations_seed_signature_analyzer.h View 1 2 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/variations_seed_signature_analyzer.cc View 1 2 4 chunks +7 lines, -4 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 2 chunks +1 line, -1 line 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (3 generated)
grt (UTC plus 2)
I think this is ready for review. Please take a look.
5 years, 10 months ago (2015-01-30 20:25:35 UTC) #1
robertshield
https://codereview.chromium.org/891793002/diff/20001/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.cc File chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.cc (right): https://codereview.chromium.org/891793002/diff/20001/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.cc#newcode82 chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.cc:82: new BinaryIntegrityIncident(incident.Pass()))); What do you think about having two ...
5 years, 10 months ago (2015-01-30 21:04:52 UTC) #2
grt (UTC plus 2)
https://codereview.chromium.org/891793002/diff/20001/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.cc File chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.cc (right): https://codereview.chromium.org/891793002/diff/20001/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.cc#newcode82 chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.cc:82: new BinaryIntegrityIncident(incident.Pass()))); On 2015/01/30 21:04:52, robertshield wrote: > What ...
5 years, 10 months ago (2015-01-30 21:16:29 UTC) #3
grt (UTC plus 2)
PTAL
5 years, 10 months ago (2015-02-02 18:10:58 UTC) #4
robertshield
lgtm https://codereview.chromium.org/891793002/diff/80001/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc File chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc (right): https://codereview.chromium.org/891793002/diff/80001/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc#newcode244 chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc:244: DCHECK(thread_runner_->BelongsToCurrentThread()); For my own education: this DCHECK in ...
5 years, 10 months ago (2015-02-03 02:54:42 UTC) #5
grt (UTC plus 2)
Thanks. https://codereview.chromium.org/891793002/diff/80001/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc File chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc (right): https://codereview.chromium.org/891793002/diff/80001/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc#newcode244 chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc:244: DCHECK(thread_runner_->BelongsToCurrentThread()); On 2015/02/03 02:54:42, robertshield wrote: > For ...
5 years, 10 months ago (2015-02-03 03:27:59 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/891793002/120001
5 years, 10 months ago (2015-02-03 03:33:20 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_rel on tryserver.chromium.win (None)
5 years, 10 months ago (2015-02-03 05:34:39 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/891793002/120001
5 years, 10 months ago (2015-02-03 13:53:51 UTC) #12
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 10 months ago (2015-02-03 13:55:06 UTC) #13
commit-bot: I haz the power
5 years, 10 months ago (2015-02-03 13:56:20 UTC) #14
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/36ef2a703d981ec5f8e277033f5a70cebd9e0a98
Cr-Commit-Position: refs/heads/master@{#314328}

Powered by Google App Engine
This is Rietveld 408576698