| OLD | NEW |
| 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_ |
| OLD | NEW |