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

Unified Diff: chrome/browser/metrics/variations/variations_service.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/metrics/variations/variations_service.h
diff --git a/chrome/browser/metrics/variations/variations_service.h b/chrome/browser/metrics/variations/variations_service.h
index 108d621dbde88993ef1fd273fd7d5a3b7d5c0ce5..01bac162051f85cdc5f4fc9e9a54c4c0a1cc7480 100644
--- a/chrome/browser/metrics/variations/variations_service.h
+++ b/chrome/browser/metrics/variations/variations_service.h
@@ -16,8 +16,10 @@
#include "base/time/time.h"
#include "chrome/browser/metrics/variations/variations_request_scheduler.h"
#include "chrome/browser/metrics/variations/variations_seed_store.h"
+#include "chrome/browser/safe_browsing/safe_browsing_service.h"
grt (UTC plus 2) 2014/10/10 17:45:42 this could be just incident_reporting/add_incicent
Georges Khalil 2014/10/10 20:19:31 Yes, changed.
#include "chrome/browser/web_resource/resource_request_allowed_notifier.h"
#include "chrome/common/chrome_version_info.h"
+#include "chrome/common/safe_browsing/csd.pb.h"
grt (UTC plus 2) 2014/10/10 17:45:42 remove
Georges Khalil 2014/10/10 20:19:31 Done.
#include "components/variations/variations_seed_simulator.h"
#include "net/url_request/url_fetcher_delegate.h"
#include "url/gurl.h"
@@ -133,6 +135,11 @@ class VariationsService
policy_pref_service_ = service;
}
+ // Callback used by safe_browsing to send an incident report in case the
+ // signature was invalid
+ void OnDelayedSendIncidentReport(
+ const safe_browsing::AddIncidentCallback& callback);
+
protected:
// Starts the fetching process once, where |OnURLFetchComplete| is called with
// the response.

Powered by Google App Engine
This is Rietveld 408576698