Chromium Code Reviews| 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..b367ec405f35cd8c661e912426b29ac1e93798b4 |
| --- /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; |
| + |
| +// Returns a constant value since all incidents pertain to the same seed |
| +// signature. |
|
Alexei Svitkine (slow)
2014/10/14 18:15:06
I don't understand this comment. I suggest explain
Georges Khalil
2014/10/15 14:41:47
Done.
|
| +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_ |