| Index: components/sync/syncable/entry.h
|
| diff --git a/components/sync/syncable/entry.h b/components/sync/syncable/entry.h
|
| index 77a80c8c920877ce475c5bfc77854bd89eedcdcd..7669ebae4fad6e3bed2a75d83d1957426853ea09 100644
|
| --- a/components/sync/syncable/entry.h
|
| +++ b/components/sync/syncable/entry.h
|
| @@ -8,10 +8,12 @@
|
| #include <stddef.h>
|
| #include <stdint.h>
|
|
|
| +#include <memory>
|
| #include <string>
|
| #include <vector>
|
|
|
| #include "base/macros.h"
|
| +#include "base/values.h"
|
| #include "components/sync/syncable/entry_kernel.h"
|
|
|
| namespace syncer {
|
| @@ -256,8 +258,8 @@ class Entry {
|
| const EntryKernel GetKernelCopy() const { return *kernel_; }
|
|
|
| // Dumps all entry info into a DictionaryValue and returns it.
|
| - // Transfers ownership of the DictionaryValue to the caller.
|
| - base::DictionaryValue* ToValue(Cryptographer* cryptographer) const;
|
| + std::unique_ptr<base::DictionaryValue> ToValue(
|
| + Cryptographer* cryptographer) const;
|
|
|
| protected: // Don't allow creation on heap, except by sync API wrappers.
|
| void* operator new(size_t size) { return (::operator new)(size); }
|
|
|