libchromeos: Add bool GetValue(T*) to Any
Similar to how we use Value objects in Chrome, this method returns true
if it is able to copy the contained data in an Any to a provided
pointer.
BUG=brillo:734
TEST=unittests
Change-Id: I144d0039bd9821e0f14d88362b74535bb5c12dd2
Reviewed-on: https://chromium-review.googlesource.com/263656
Tested-by: Christopher Wiley <wiley@chromium.org>
Reviewed-by: Alex Vakulenko <avakulenko@chromium.org>
Commit-Queue: Christopher Wiley <wiley@chromium.org>
1 file changed