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

Unified Diff: sync/protocol/proto_value_conversions.cc

Issue 299963002: sync: Implement NonBlockingTypeProcessorCore (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Unbreak some tests Created 6 years, 6 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 | « sync/protocol/proto_value_conversions.h ('k') | sync/sessions/model_type_registry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/protocol/proto_value_conversions.cc
diff --git a/sync/protocol/proto_value_conversions.cc b/sync/protocol/proto_value_conversions.cc
index e1c8851aeca9785be91bcb853f0c9b47e0c06378..5ea434c39b28eadabce45de6a6e09c74cebf177e 100644
--- a/sync/protocol/proto_value_conversions.cc
+++ b/sync/protocol/proto_value_conversions.cc
@@ -813,6 +813,8 @@ base::StringValue* UniquePositionToStringValue(
return new base::StringValue(pos.ToDebugString());
}
+} // namespace
+
base::DictionaryValue* SyncEntityToValue(const sync_pb::SyncEntity& proto,
bool include_specifics) {
base::DictionaryValue* value = new base::DictionaryValue();
@@ -839,6 +841,8 @@ base::DictionaryValue* SyncEntityToValue(const sync_pb::SyncEntity& proto,
return value;
}
+namespace {
+
base::ListValue* SyncEntitiesToValue(
const ::google::protobuf::RepeatedPtrField<sync_pb::SyncEntity>& entities,
bool include_specifics) {
« no previous file with comments | « sync/protocol/proto_value_conversions.h ('k') | sync/sessions/model_type_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698