blob: cc6ea60ad0fe239129d6930b3aa88f1367866fe6 [file] [log] [blame]
// 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_BINARY_INTEGRITY_INCIDENT_HANDLERS_H_
#define CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_BINARY_INTEGRITY_INCIDENT_HANDLERS_H_
#include <stdint.h>
#include <string>
namespace safe_browsing {
class ClientIncidentReport_IncidentData;
// Returns the path of the binary.
std::string GetBinaryIntegrityIncidentKey(
const ClientIncidentReport_IncidentData& incident_data);
// Returns a digest computed over the binary integrity incident data.
uint32_t GetBinaryIntegrityIncidentDigest(
const ClientIncidentReport_IncidentData& incident_data);
} // namespace safe_browsing
#endif // CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_BINARY_INTEGRITY_INCIDENT_HANDLERS_H_