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

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

Issue 646733002: Added incident report for variations seed signature mismatch. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/variations_seed_signature_analyzer.h
diff --git a/chrome/browser/safe_browsing/incident_reporting/variations_seed_signature_analyzer.h b/chrome/browser/safe_browsing/incident_reporting/variations_seed_signature_analyzer.h
new file mode 100644
index 0000000000000000000000000000000000000000..5c8e087f1926e34c7d47a0ebe1201e56799e42ab
--- /dev/null
+++ b/chrome/browser/safe_browsing/incident_reporting/variations_seed_signature_analyzer.h
@@ -0,0 +1,25 @@
+// 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_VARIATIONS_SEED_SIGNATURE_ANALYZER_H_
+#define CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_VARIATIONS_SEED_SIGNATURE_ANALYZER_H_
+
+#include <vector>
grt (UTC plus 2) 2014/10/14 01:28:30 unused
Georges Khalil 2014/10/14 13:51:10 Done.
+
+#include "base/strings/string16.h"
+#include "chrome/browser/safe_browsing/incident_reporting/add_incident_callback.h"
+
+namespace safe_browsing {
+
+// Registers a process-wide analysis with the incident reporting service that
+// will verify the variations seed signature.
+void RegisterVariationsSeedSignatureAnalysis();
+
+// Callback to pass to the incident reporting service. The incident reporting
+// service will verify if the variations seed signature is invalid.
+void VerifyVariationsSeedSignature(const AddIncidentCallback& callback);
+
+} // namespace safe_browsing
+
+#endif // CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_VARIATIONS_SEED_SIGNATURE_ANALYZER_H_

Powered by Google App Engine
This is Rietveld 408576698