Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5653)

Unified Diff: chrome/browser/safe_browsing/incident_reporting/blacklist_load_incident_handlers.h

Issue 433513008: Add blacklist incidents to incident reporting service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mattm feedback Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/safe_browsing/incident_reporting/blacklist_load_incident_handlers.h
diff --git a/chrome/browser/safe_browsing/incident_reporting/blacklist_load_incident_handlers.h b/chrome/browser/safe_browsing/incident_reporting/blacklist_load_incident_handlers.h
new file mode 100644
index 0000000000000000000000000000000000000000..61367c9bd506f405e0a2ad99571de335d9a027b7
--- /dev/null
+++ b/chrome/browser/safe_browsing/incident_reporting/blacklist_load_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_BLACKLIST_LOAD_INCIDENT_HANDLERS_H_
+#define CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_BLACKLIST_LOAD_INCIDENT_HANDLERS_H_
+
+#include <stdint.h>
+
+#include <string>
+
+namespace safe_browsing {
+
+class ClientIncidentReport_IncidentData;
+
+// Returns the path of the loaded blacklisted module.
+std::string GetBlacklistLoadIncidentKey(
+ const ClientIncidentReport_IncidentData& incident_data);
+
+// Returns a digest of the loaded blacklisted module.
+uint32_t GetBlacklistLoadIncidentDigest(
+ const ClientIncidentReport_IncidentData& incident_data);
+
+} // namespace safe_browsing
+
+#endif // CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_BLACKLIST_LOAD_INCIDENT_HANDLERS_H_

Powered by Google App Engine
This is Rietveld 408576698