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

Unified Diff: chrome/browser/sync/protocol/session_specifics.proto

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
« no previous file with comments | « chrome/browser/sync/protocol/proto_value_conversions.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/protocol/session_specifics.proto
diff --git a/chrome/browser/sync/protocol/session_specifics.proto b/chrome/browser/sync/protocol/session_specifics.proto
index 28ffbd99c650564318bb83b11465b7c23750f1ed..7414771b14ab1d80cf2d0c9e19fdd5540837988d 100644
--- a/chrome/browser/sync/protocol/session_specifics.proto
+++ b/chrome/browser/sync/protocol/session_specifics.proto
@@ -20,12 +20,20 @@ message SessionSpecifics {
// Unique id for the client.
optional string session_tag = 1;
optional SessionHeader header = 2;
- optional SessionTab tab = 3;
+ optional SessionTab tab = 3;
}
// Properties of session sync objects.
message SessionHeader {
// Each session is composed of windows.
repeated SessionWindow window = 2;
+ // A non-unique but human-readable name to describe this client.
+ optional string client_name = 3;
+ // The type of device.
+ enum DeviceType {
+ TYPE_PC = 1;
+ TYPE_CROS = 2;
+ }
+ optional DeviceType device_type = 4;
}
message SessionWindow {
// Unique (to the owner) id for this window.
« no previous file with comments | « chrome/browser/sync/protocol/proto_value_conversions.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698