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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_VARIATIONS_SEED_SIGNATURE_ANALYZER_H_
6 #define CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_VARIATIONS_SEED_SIGNATURE_ANALYZER_H_
8 #include "base/memory/scoped_ptr.h"
9 #include "base/strings/string16.h"
11 namespace safe_browsing
{
13 class IncidentReceiver
;
15 // Registers a process-wide analysis with the incident reporting service that
16 // will verify the variations seed signature.
17 void RegisterVariationsSeedSignatureAnalysis();
19 // Callback to pass to the incident reporting service. The incident reporting
20 // service will verify if the variations seed signature is invalid.
21 void VerifyVariationsSeedSignature(
22 scoped_ptr
<IncidentReceiver
> incident_receiver
);
24 } // namespace safe_browsing
26 #endif // CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_VARIATIONS_SEED_SIGNATURE_ANALYZER_H_