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

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

Issue 856543004: Replace incident type handlers with implementations of Incident. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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.cc
diff --git a/chrome/browser/safe_browsing/incident_reporting/blacklist_load_incident_handlers.cc b/chrome/browser/safe_browsing/incident_reporting/blacklist_load_incident_handlers.cc
deleted file mode 100644
index 1847837211cdca3cff556493d71b362e1f374c73..0000000000000000000000000000000000000000
--- a/chrome/browser/safe_browsing/incident_reporting/blacklist_load_incident_handlers.cc
+++ /dev/null
@@ -1,26 +0,0 @@
-// 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.
-
-#include "chrome/browser/safe_browsing/incident_reporting/blacklist_load_incident_handlers.h"
-
-#include "base/logging.h"
-#include "chrome/browser/safe_browsing/incident_reporting/incident_handler_util.h"
-#include "chrome/common/safe_browsing/csd.pb.h"
-
-namespace safe_browsing {
-
-std::string GetBlacklistLoadIncidentKey(
- const ClientIncidentReport_IncidentData& incident_data) {
- DCHECK(incident_data.has_blacklist_load());
- DCHECK(incident_data.blacklist_load().has_path());
- return incident_data.blacklist_load().path();
-}
-
-uint32_t GetBlacklistLoadIncidentDigest(
- const ClientIncidentReport_IncidentData& incident_data) {
- DCHECK(incident_data.has_blacklist_load());
- return HashMessage(incident_data.blacklist_load());
-}
-
-} // namespace safe_browsing

Powered by Google App Engine
This is Rietveld 408576698