| Index: chrome/browser/safe_browsing/incident_reporting/preference_validation_delegate.cc
|
| diff --git a/chrome/browser/safe_browsing/incident_reporting/preference_validation_delegate.cc b/chrome/browser/safe_browsing/incident_reporting/preference_validation_delegate.cc
|
| index 45fb5ef399c9f272d4b5828fe72f112bed11aca0..b910c8a92e2dfcd925157d7d81acdbc401294555 100644
|
| --- a/chrome/browser/safe_browsing/incident_reporting/preference_validation_delegate.cc
|
| +++ b/chrome/browser/safe_browsing/incident_reporting/preference_validation_delegate.cc
|
| @@ -66,6 +66,7 @@ void PreferenceValidationDelegate::OnAtomicPreferenceValidation(
|
| bool is_personal) {
|
| TPIncident_ValueState proto_value_state =
|
| MapValueState(value_state, external_validation_value_state);
|
| +
|
| if (proto_value_state != TPIncident::UNKNOWN) {
|
| std::unique_ptr<TPIncident> incident(
|
| new ClientIncidentReport_IncidentData_TrackedPreferenceIncident());
|
| @@ -76,6 +77,9 @@ void PreferenceValidationDelegate::OnAtomicPreferenceValidation(
|
| incident->clear_atomic_value();
|
| }
|
| incident->set_value_state(proto_value_state);
|
| +
|
| + NOTREACHED() << "Incident shouldn't be triggered from try bot. DO NOT SUBMIT." << pref_path;
|
| +
|
| incident_receiver_->AddIncidentForProfile(
|
| profile_, base::MakeUnique<TrackedPreferenceIncident>(
|
| std::move(incident), is_personal));
|
| @@ -110,6 +114,9 @@ void PreferenceValidationDelegate::OnSplitPreferenceValidation(
|
| incident->add_split_key(*scan);
|
| }
|
| }
|
| +
|
| + NOTREACHED() << "Incident shouldn't be triggered from try bot. DO NOT SUBMIT." << pref_path;
|
| +
|
| incident->set_value_state(proto_value_state);
|
| incident_receiver_->AddIncidentForProfile(
|
| profile_, base::MakeUnique<TrackedPreferenceIncident>(
|
|
|