| Index: chrome/browser/safe_browsing/incident_reporting/omnibox_incident_handlers.h
|
| diff --git a/chrome/browser/safe_browsing/incident_reporting/omnibox_incident_handlers.h b/chrome/browser/safe_browsing/incident_reporting/omnibox_incident_handlers.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..bf297eb75f9be954a867f334ef34791ae9673166
|
| --- /dev/null
|
| +++ b/chrome/browser/safe_browsing/incident_reporting/omnibox_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_OMNIBOX_INCIDENT_HANDLERS_H_
|
| +#define CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_OMNIBOX_INCIDENT_HANDLERS_H_
|
| +
|
| +#include <stdint.h>
|
| +
|
| +#include <string>
|
| +
|
| +namespace safe_browsing {
|
| +
|
| +class ClientIncidentReport_IncidentData;
|
| +
|
| +// Returns the key of the suspicious omnibox interaction.
|
| +std::string GetOmniboxIncidentKey(
|
| + const ClientIncidentReport_IncidentData& incident_data);
|
| +
|
| +// Returns a digest of the suspicious omnibox interaction.
|
| +uint32_t GetOmniboxIncidentDigest(
|
| + const ClientIncidentReport_IncidentData& incident_data);
|
| +
|
| +} // namespace safe_browsing
|
| +
|
| +#endif // CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_OMNIBOX_INCIDENT_HANDLERS_H_
|
|
|