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

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

Issue 646733002: Added incident report for variations seed signature mismatch. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor styling fixes. Created 6 years, 2 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/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_

Powered by Google App Engine
This is Rietveld 408576698