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

Unified Diff: sync/protocol/proto_value_conversions.cc

Issue 12033093: sync: Implementation of Priority Preferences. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: another rebase Created 7 years, 10 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
Index: sync/protocol/proto_value_conversions.cc
diff --git a/sync/protocol/proto_value_conversions.cc b/sync/protocol/proto_value_conversions.cc
index 3964578d9edcc9d7c47881a292acbb19425f0f8d..c23ad5c30638a45d709f4b8daf80d647edc903ed 100644
--- a/sync/protocol/proto_value_conversions.cc
+++ b/sync/protocol/proto_value_conversions.cc
@@ -309,14 +309,6 @@ base::DictionaryValue* BookmarkSpecificsToValue(
return value;
}
-base::DictionaryValue* PriorityPreferenceSpecificsToValue(
- const sync_pb::PriorityPreferenceSpecifics& proto) {
- base::DictionaryValue* value = new base::DictionaryValue();
- SET_STR(name);
- SET_STR(value);
- return value;
-}
-
base::DictionaryValue* DeviceInfoSpecificsToValue(
const sync_pb::DeviceInfoSpecifics& proto) {
base::DictionaryValue* value = new base::DictionaryValue();
@@ -444,6 +436,13 @@ base::DictionaryValue* PreferenceSpecificsToValue(
return value;
}
+base::DictionaryValue* PriorityPreferenceSpecificsToValue(
+ const sync_pb::PriorityPreferenceSpecifics& specifics) {
+ base::DictionaryValue* value = new base::DictionaryValue();
+ SET_FIELD(preference, PreferenceSpecificsToValue);
+ return value;
+}
+
base::DictionaryValue* SyncedNotificationSpecificsToValue(
const sync_pb::SyncedNotificationSpecifics& proto) {
base::DictionaryValue* value = new base::DictionaryValue();

Powered by Google App Engine
This is Rietveld 408576698