Adding instrumentation to locate the source of jankiness
[chromium-blink-merge.git] / chrome / browser / safe_browsing / incident_reporting / variations_seed_signature_analyzer.h
blob9a56a5a42115d49cafaa9a8bbc22c03f76e2afd5
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/strings/string16.h"
9 #include "chrome/browser/safe_browsing/incident_reporting/add_incident_callback.h"
11 namespace safe_browsing {
13 // Registers a process-wide analysis with the incident reporting service that
14 // will verify the variations seed signature.
15 void RegisterVariationsSeedSignatureAnalysis();
17 // Callback to pass to the incident reporting service. The incident reporting
18 // service will verify if the variations seed signature is invalid.
19 void VerifyVariationsSeedSignature(const AddIncidentCallback& callback);
21 } // namespace safe_browsing
23 #endif // CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_VARIATIONS_SEED_SIGNATURE_ANALYZER_H_