Chromium Code Reviews| Index: chrome/browser/safe_browsing/incident_reporting/finch_config_signature_incident_handlers.h |
| diff --git a/chrome/browser/safe_browsing/incident_reporting/finch_config_signature_incident_handlers.h b/chrome/browser/safe_browsing/incident_reporting/finch_config_signature_incident_handlers.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..c55c2c03bff279f05061e23c401221fd006b15b7 |
| --- /dev/null |
| +++ b/chrome/browser/safe_browsing/incident_reporting/finch_config_signature_incident_handlers.h |
| @@ -0,0 +1,26 @@ |
| +// 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_FINCH_CONFIG_SIGNATURE_INCIDENT_HANDLERS_H_ |
| +#define CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_FINCH_CONFIG_SIGNATURE_INCIDENT_HANDLERS_H_ |
| + |
| +#include <stdint.h> |
| + |
| +#include <string> |
| + |
| +namespace safe_browsing { |
| + |
| +class ClientIncidentReport_IncidentData; |
| + |
| +// Returns the signature of the finch configuration. |
|
grt (UTC plus 2)
2014/10/10 17:45:43
// Returns a constant value since all incidents pe
Georges Khalil
2014/10/10 20:19:32
Done.
|
| +std::string GetFinchConfigSignatureIncidentKey( |
| + const ClientIncidentReport_IncidentData& incident_data); |
| + |
| +// Returns a digest of the finch configuration signature module. |
|
grt (UTC plus 2)
2014/10/10 17:45:43
// Returns a digest of the invalid seed signature
Georges Khalil
2014/10/10 20:19:32
Done.
|
| +uint32_t GetFinchConfigSignatureIncidentDigest( |
| + const ClientIncidentReport_IncidentData& incident_data); |
| + |
| +} // namespace safe_browsing |
| + |
| +#endif // CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_FINCH_CONFIG_SIGNATURE_INCIDENT_HANDLERS_H_ |