Chromium Code Reviews| Index: chrome/browser/safe_browsing/incident_reporting/variations_seed_signature_incident_handlers.cc |
| diff --git a/chrome/browser/safe_browsing/incident_reporting/blacklist_load_incident_handlers.cc b/chrome/browser/safe_browsing/incident_reporting/variations_seed_signature_incident_handlers.cc |
| similarity index 54% |
| copy from chrome/browser/safe_browsing/incident_reporting/blacklist_load_incident_handlers.cc |
| copy to chrome/browser/safe_browsing/incident_reporting/variations_seed_signature_incident_handlers.cc |
| index 1847837211cdca3cff556493d71b362e1f374c73..6ba36d87890067669ae79c9ec55a02139cb71206 100644 |
| --- a/chrome/browser/safe_browsing/incident_reporting/blacklist_load_incident_handlers.cc |
| +++ b/chrome/browser/safe_browsing/incident_reporting/variations_seed_signature_incident_handlers.cc |
| @@ -2,7 +2,7 @@ |
| // 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 "chrome/browser/safe_browsing/incident_reporting/variations_seed_signature_incident_handlers.h" |
| #include "base/logging.h" |
| #include "chrome/browser/safe_browsing/incident_reporting/incident_handler_util.h" |
| @@ -10,17 +10,16 @@ |
| namespace safe_browsing { |
| -std::string GetBlacklistLoadIncidentKey( |
| +std::string GetVariationsSeedSignatureIncidentKey( |
| const ClientIncidentReport_IncidentData& incident_data) { |
| - DCHECK(incident_data.has_blacklist_load()); |
| - DCHECK(incident_data.blacklist_load().has_path()); |
| - return incident_data.blacklist_load().path(); |
| + DCHECK(incident_data.has_variations_seed_signature()); |
| + return "VariationsSeedSignatureIncidentKey"; |
|
grt (UTC plus 2)
2014/10/14 01:28:30
since this names a value in a dict specific to the
Georges Khalil
2014/10/14 13:51:10
Done.
|
| } |
| -uint32_t GetBlacklistLoadIncidentDigest( |
| +uint32_t GetVariationsSeedSignatureIncidentDigest( |
| const ClientIncidentReport_IncidentData& incident_data) { |
| - DCHECK(incident_data.has_blacklist_load()); |
| - return HashMessage(incident_data.blacklist_load()); |
| + DCHECK(incident_data.has_variations_seed_signature()); |
| + return HashMessage(incident_data.variations_seed_signature()); |
| } |
| } // namespace safe_browsing |