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
tree: 11b3b0a3ef6e895ea0d20146d6d42c9f54c5ebc0
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/