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

Side by Side Diff: components/copresence/proto/data.proto

Issue 713643002: Revert "Adding GCM support to the copresence component. The Copresence server can push directives (… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2214
Patch Set: Created 6 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « components/copresence/proto/BUILD.gn ('k') | components/copresence/proto/push_message.proto » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 syntax = "proto2"; 1 syntax = "proto2";
2 package copresence; 2 package copresence;
3 option optimize_for = LITE_RUNTIME; 3 option optimize_for = LITE_RUNTIME;
4 import "enums.proto"; 4 import "enums.proto";
5 import "identity.proto"; 5 import "identity.proto";
6 message ClientVersion { 6 message ClientVersion {
7 optional string client = 1; 7 optional string client = 1;
8 optional string version_name = 2; 8 optional string version_name = 2;
9 optional int64 version_code = 3; 9 optional int64 version_code = 3;
10 optional string certificate_fingerprint = 4; 10 optional string certificate_fingerprint = 4;
11 } 11 }
12 message Status { 12 message Status {
13 optional StatusCode code = 1; 13 optional StatusCode code = 1;
14 optional string message = 2; 14 optional string message = 2;
15 } 15 }
16 message PushServiceRegistration { 16 message PushServiceRegistration {
17 optional PushService service = 1; 17 optional PushService service = 1;
18 optional GcmRegistration gcm_registration = 2;
19 }
20 message GcmRegistration {
21 optional string device_token = 1;
22 } 18 }
23 message DeviceIdentifiers { 19 message DeviceIdentifiers {
24 optional int32 ulr_device_id = 1; 20 optional int32 ulr_device_id = 1;
25 optional DeviceIdentity device_identity = 2; 21 optional DeviceIdentity device_identity = 2;
26 optional Identity registrant = 3; 22 optional Identity registrant = 3;
27 } 23 }
28 message Token { 24 message Token {
29 message Debug { 25 message Debug {
30 repeated string email = 2; 26 repeated string email = 2;
31 } 27 }
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 } 122 }
127 message MessageResult { 123 message MessageResult {
128 optional string published_message_id = 1; 124 optional string published_message_id = 1;
129 } 125 }
130 message SubscriptionResult { 126 message SubscriptionResult {
131 optional string subscription_id = 1; 127 optional string subscription_id = 1;
132 } 128 }
133 message OptInStateFilter { 129 message OptInStateFilter {
134 repeated OptInState allowed_opt_in_state = 1; 130 repeated OptInState allowed_opt_in_state = 1;
135 } 131 }
OLDNEW
« no previous file with comments | « components/copresence/proto/BUILD.gn ('k') | components/copresence/proto/push_message.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698