Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(744)

Unified Diff: components/sync/syncable/base_node.h

Issue 2889163002: Remove raw DictionaryValue::Set in //components (Closed)
Patch Set: Nits Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/sync/protocol/sync_protocol_error.cc ('k') | components/sync/syncable/base_node.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/syncable/base_node.h
diff --git a/components/sync/syncable/base_node.h b/components/sync/syncable/base_node.h
index 7e7c8ecd89b214646c2f173db32ed1ad02511e4a..ac53ace17e0842577dd7d92a61a49c9d9079b84b 100644
--- a/components/sync/syncable/base_node.h
+++ b/components/sync/syncable/base_node.h
@@ -171,7 +171,7 @@ class BaseNode {
const AttachmentIdList GetAttachmentIds() const;
// Returns a base::DictionaryValue serialization of this node.
- base::DictionaryValue* ToValue() const;
+ std::unique_ptr<base::DictionaryValue> ToValue() const;
protected:
BaseNode();
« no previous file with comments | « components/sync/protocol/sync_protocol_error.cc ('k') | components/sync/syncable/base_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698