Index: dbus/values_util.h |
diff --git a/dbus/values_util.h b/dbus/values_util.h |
index b6f4ff3b10edc348aafe3f880f4950b59f4d55fb..81b839b1882edb9d9bec6442756f0548c8289951 100644 |
--- a/dbus/values_util.h |
+++ b/dbus/values_util.h |
@@ -7,6 +7,8 @@ |
#include <stdint.h> |
+#include <memory> |
+ |
#include "dbus/dbus_export.h" |
namespace base { |
@@ -22,7 +24,8 @@ class MessageWriter; |
// Returns NULL if an error occurs. |
// Note: Integer values larger than int32_t (including uint32_t) are converted |
// to double. Non-string dictionary keys are converted to strings. |
-CHROME_DBUS_EXPORT base::Value* PopDataAsValue(MessageReader* reader); |
+CHROME_DBUS_EXPORT std::unique_ptr<base::Value> PopDataAsValue( |
+ MessageReader* reader); |
// Appends a basic type value to |writer|. Basic types are BOOLEAN, INTEGER, |
// DOUBLE, and STRING. Use this function for values that are known to be basic |