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

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

Issue 2719833002: Convert TrackedPreferenceValidationDelegate into a mojo interface. (Closed)
Patch Set: Created 3 years, 9 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/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..0b7d284bfa904f218cf21231e45d667da6b27dba 100644
--- a/chrome/browser/safe_browsing/incident_reporting/preference_validation_delegate.cc
+++ b/chrome/browser/safe_browsing/incident_reporting/preference_validation_delegate.cc
@@ -60,7 +60,7 @@ PreferenceValidationDelegate::~PreferenceValidationDelegate() {
void PreferenceValidationDelegate::OnAtomicPreferenceValidation(
const std::string& pref_path,
- const base::Value* value,
+ std::unique_ptr<base::Value> value,
PrefHashStoreTransaction::ValueState value_state,
PrefHashStoreTransaction::ValueState external_validation_value_state,
bool is_personal) {
@@ -84,7 +84,6 @@ void PreferenceValidationDelegate::OnAtomicPreferenceValidation(
void PreferenceValidationDelegate::OnSplitPreferenceValidation(
const std::string& pref_path,
- const base::DictionaryValue* /* dict_value */,
const std::vector<std::string>& invalid_keys,
const std::vector<std::string>& external_validation_invalid_keys,
PrefHashStoreTransaction::ValueState value_state,

Powered by Google App Engine
This is Rietveld 408576698