Change PrefService::SetUserPrefValue() to take a base::Value.

Replace the std::unique_ptr<base::Value> parameter to base::Value.

Bug: 1012811
Change-Id: Id63d78a0ce54a381822b911ce67caf5afe38b3d3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1848857
Reviewed-by: Gabriel Charette <[email protected]>
Commit-Queue: Lei Zhang <[email protected]>
Cr-Commit-Position: refs/heads/master@{#705269}
diff --git a/components/prefs/pref_service.h b/components/prefs/pref_service.h
index 9580b48..b50a31c 100644
--- a/components/prefs/pref_service.h
+++ b/components/prefs/pref_service.h
@@ -428,8 +428,7 @@
 
   // Sets the value for this pref path in the user pref store and informs the
   // PrefNotifier of the change.
-  void SetUserPrefValue(const std::string& path,
-                        std::unique_ptr<base::Value> new_value);
+  void SetUserPrefValue(const std::string& path, base::Value new_value);
 
   // Load preferences from storage, attempting to diagnose and handle errors.
   // This should only be called from the constructor.