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

Unified Diff: chrome/browser/sync/protocol/proto_value_conversions.cc

Issue 7753019: [Sync] Update session protos. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix proto conversion Created 9 years, 4 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: chrome/browser/sync/protocol/proto_value_conversions.cc
diff --git a/chrome/browser/sync/protocol/proto_value_conversions.cc b/chrome/browser/sync/protocol/proto_value_conversions.cc
index 753f568df8baf5b0b62daff00a0f16dc13916b92..67ca91a44217a2a894d9948fa34a5efdfac6dd62 100644
--- a/chrome/browser/sync/protocol/proto_value_conversions.cc
+++ b/chrome/browser/sync/protocol/proto_value_conversions.cc
@@ -104,6 +104,8 @@ DictionaryValue* SessionHeaderToValue(
const sync_pb::SessionHeader& proto) {
DictionaryValue* value = new DictionaryValue();
SET_REP(window, SessionWindowToValue);
+ SET_STR(client_name);
+ SET_ENUM(device_type, GetDeviceTypeString);
return value;
}
« no previous file with comments | « chrome/browser/sync/protocol/proto_enum_conversions.cc ('k') | chrome/browser/sync/protocol/session_specifics.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698