Add base::Value::{From,To}UniquePtrValue().
To help with converting base::Value usage from the old way to the new
way, there needs to be adapters between code that use
std::unique_ptr<base::Value> and just base::Value. Add them to
base::Value so others do not have to re-invent it everywhere.
Bug: 646113
Change-Id: I328e426f3ac2079ecb813eccd98062e5bf941cc0
Reviewed-on: https://chromium-review.googlesource.com/726939
Reviewed-by: Jan Wilken Dörrie <jdoerrie@chromium.org>
Reviewed-by: Brett Wilson <brettw@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#510870}
CrOS-Libchrome-Original-Commit: 30895d5b029fa4cd38f4359a57b68cb5aa65c7eb
3 files changed