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

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

Issue 2803023005: Switch base::Value typemapping to be by value instead of by unique_ptr.
Patch Set: Created 3 years, 8 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 d8713517057675f93f97a66c0df08f961a298fa7..7e14fa7163461925931baec1b015878cabbd2cec 100644
--- a/chrome/browser/safe_browsing/incident_reporting/preference_validation_delegate.cc
+++ b/chrome/browser/safe_browsing/incident_reporting/preference_validation_delegate.cc
@@ -62,7 +62,7 @@ PreferenceValidationDelegate::~PreferenceValidationDelegate() {
void PreferenceValidationDelegate::OnAtomicPreferenceValidation(
const std::string& pref_path,
- std::unique_ptr<base::Value> value,
+ const base::Optional<base::Value>& value,
ValueState value_state,
ValueState external_validation_value_state,
bool is_personal) {

Powered by Google App Engine
This is Rietveld 408576698