| Index: base/value_conversions.h
|
| diff --git a/base/value_conversions.h b/base/value_conversions.h
|
| index 8a464ab4b725974831ec543d6ee07e12667f01ee..bfdec70a91ad18da24d24feaae68ab6fad4874d9 100644
|
| --- a/base/value_conversions.h
|
| +++ b/base/value_conversions.h
|
| @@ -7,9 +7,9 @@
|
|
|
| // This file contains methods to convert things to a |Value| and back.
|
|
|
| +#include <memory>
|
| #include "base/base_export.h"
|
|
|
| -
|
| namespace base {
|
|
|
| class FilePath;
|
| @@ -17,10 +17,11 @@ class TimeDelta;
|
| class Value;
|
|
|
| // The caller takes ownership of the returned value.
|
| -BASE_EXPORT Value* CreateFilePathValue(const FilePath& in_value);
|
| +BASE_EXPORT std::unique_ptr<Value> CreateFilePathValue(
|
| + const FilePath& in_value);
|
| BASE_EXPORT bool GetValueAsFilePath(const Value& value, FilePath* file_path);
|
|
|
| -BASE_EXPORT Value* CreateTimeDeltaValue(const TimeDelta& time);
|
| +BASE_EXPORT std::unique_ptr<Value> CreateTimeDeltaValue(const TimeDelta& time);
|
| BASE_EXPORT bool GetValueAsTimeDelta(const Value& value, TimeDelta* time);
|
|
|
| } // namespace base
|
|
|