| Index: chrome/browser/safe_browsing/incident_reporting/variations_seed_signature_incident_handlers.h
|
| diff --git a/chrome/browser/safe_browsing/incident_reporting/variations_seed_signature_incident_handlers.h b/chrome/browser/safe_browsing/incident_reporting/variations_seed_signature_incident_handlers.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c230f2916235dac8b719132025668da7a9414f71
|
| --- /dev/null
|
| +++ b/chrome/browser/safe_browsing/incident_reporting/variations_seed_signature_incident_handlers.h
|
| @@ -0,0 +1,27 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_VARIATIONS_SEED_SIGNATURE_INCIDENT_HANDLERS_H_
|
| +#define CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_VARIATIONS_SEED_SIGNATURE_INCIDENT_HANDLERS_H_
|
| +
|
| +#include <stdint.h>
|
| +
|
| +#include <string>
|
| +
|
| +namespace safe_browsing {
|
| +
|
| +class ClientIncidentReport_IncidentData;
|
| +
|
| +// All variations seed signature incidents return the same constant key so only
|
| +// one incident report is sent.
|
| +std::string GetVariationsSeedSignatureIncidentKey(
|
| + const ClientIncidentReport_IncidentData& incident_data);
|
| +
|
| +// Returns a digest of the invalid seed signature value.
|
| +uint32_t GetVariationsSeedSignatureIncidentDigest(
|
| + const ClientIncidentReport_IncidentData& incident_data);
|
| +
|
| +} // namespace safe_browsing
|
| +
|
| +#endif // CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_VARIATIONS_SEED_SIGNATURE_INCIDENT_HANDLERS_H_
|
|
|