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

Side by Side Diff: chrome/browser/safe_browsing/incident_reporting/variations_seed_signature_analyzer.h

Issue 891793002: Take a Profile when adding an incident to the incident reporting service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: this time Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_VARIATIONS_SEED_SIGNATUR E_ANALYZER_H_ 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_VARIATIONS_SEED_SIGNATUR E_ANALYZER_H_
6 #define CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_VARIATIONS_SEED_SIGNATUR E_ANALYZER_H_ 6 #define CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_VARIATIONS_SEED_SIGNATUR E_ANALYZER_H_
7 7
8 #include "base/memory/scoped_ptr.h"
8 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
9 #include "chrome/browser/safe_browsing/incident_reporting/add_incident_callback. h"
10 10
11 namespace safe_browsing { 11 namespace safe_browsing {
12 12
13 class IncidentReceiver;
14
13 // Registers a process-wide analysis with the incident reporting service that 15 // Registers a process-wide analysis with the incident reporting service that
14 // will verify the variations seed signature. 16 // will verify the variations seed signature.
15 void RegisterVariationsSeedSignatureAnalysis(); 17 void RegisterVariationsSeedSignatureAnalysis();
16 18
17 // Callback to pass to the incident reporting service. The incident reporting 19 // Callback to pass to the incident reporting service. The incident reporting
18 // service will verify if the variations seed signature is invalid. 20 // service will verify if the variations seed signature is invalid.
19 void VerifyVariationsSeedSignature(const AddIncidentCallback& callback); 21 void VerifyVariationsSeedSignature(
22 scoped_ptr<IncidentReceiver> incident_receiver);
20 23
21 } // namespace safe_browsing 24 } // namespace safe_browsing
22 25
23 #endif // CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_VARIATIONS_SEED_SIGNA TURE_ANALYZER_H_ 26 #endif // CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_VARIATIONS_SEED_SIGNA TURE_ANALYZER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698