| 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 <memory> |
| 9 |
| 9 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| 10 | 11 |
| 11 namespace safe_browsing { | 12 namespace safe_browsing { |
| 12 | 13 |
| 13 class IncidentReceiver; | 14 class IncidentReceiver; |
| 14 | 15 |
| 15 // Registers a process-wide analysis with the incident reporting service that | 16 // Registers a process-wide analysis with the incident reporting service that |
| 16 // will verify the variations seed signature. | 17 // will verify the variations seed signature. |
| 17 void RegisterVariationsSeedSignatureAnalysis(); | 18 void RegisterVariationsSeedSignatureAnalysis(); |
| 18 | 19 |
| 19 // Callback to pass to the incident reporting service. The incident reporting | 20 // Callback to pass to the incident reporting service. The incident reporting |
| 20 // service will verify if the variations seed signature is invalid. | 21 // service will verify if the variations seed signature is invalid. |
| 21 void VerifyVariationsSeedSignature( | 22 void VerifyVariationsSeedSignature( |
| 22 scoped_ptr<IncidentReceiver> incident_receiver); | 23 std::unique_ptr<IncidentReceiver> incident_receiver); |
| 23 | 24 |
| 24 } // namespace safe_browsing | 25 } // namespace safe_browsing |
| 25 | 26 |
| 26 #endif // CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_VARIATIONS_SEED_SIGNA
TURE_ANALYZER_H_ | 27 #endif // CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_VARIATIONS_SEED_SIGNA
TURE_ANALYZER_H_ |
| OLD | NEW |