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

Unified Diff: components/sync/syncable/syncable_id.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/syncable/model_type_unittest.cc ('k') | components/sync/syncable/syncable_id.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/syncable/syncable_id.h
diff --git a/components/sync/syncable/syncable_id.h b/components/sync/syncable/syncable_id.h
index 100244b07267d7454a0cf09c3046883814aafb21..67cf909ec9d6b64913b24c708522c0efa72fc157 100644
--- a/components/sync/syncable/syncable_id.h
+++ b/components/sync/syncable/syncable_id.h
@@ -69,9 +69,8 @@ class Id {
// by operator<.
Id GetLexicographicSuccessor() const;
- // Dumps the ID as a value and returns it. Transfers ownership of
- // the StringValue to the caller.
- base::Value* ToValue() const;
+ // Dumps the ID as a value and returns it.
+ std::unique_ptr<base::Value> ToValue() const;
// Three functions are used to work with our proto buffers.
std::string GetServerId() const;
« no previous file with comments | « components/sync/syncable/model_type_unittest.cc ('k') | components/sync/syncable/syncable_id.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698