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

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

Issue 799793002: Adding configuration protos (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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/data.proto ('k') | no next file » | 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 "codes.proto"; 4 import "codes.proto";
5 import "config_data.proto";
5 import "enums.proto"; 6 import "enums.proto";
6 import "data.proto"; 7 import "data.proto";
7 message RequestHeader { 8 message RequestHeader {
8 optional ClientVersion client_version = 4; 9 optional ClientVersion client_version = 4;
9 optional ClientVersion framework_version = 5; 10 optional ClientVersion framework_version = 5;
10 optional int64 current_time_millis = 6; 11 optional int64 current_time_millis = 6;
11 optional string registered_device_id = 7; 12 optional string registered_device_id = 7;
12 repeated string experiment_override = 8; 13 repeated string experiment_override = 8;
13 optional DeviceFingerprint device_fingerprint = 10; 14 optional DeviceFingerprint device_fingerprint = 10;
14 optional string configuration_etag = 11; 15 optional string configuration_etag = 11;
15 } 16 }
16 message ResponseHeader { 17 message ResponseHeader {
17 optional DebugInfo debug_info = 2; 18 optional DebugInfo debug_info = 2;
18 optional Status status = 3; 19 optional Status status = 3;
20 optional Configuration configuration = 4;
19 } 21 }
20 message RegisterDeviceRequest { 22 message RegisterDeviceRequest {
21 optional RequestHeader header = 1; 23 optional RequestHeader header = 1;
22 optional PushServiceRegistration push_service = 5; 24 optional PushServiceRegistration push_service = 5;
23 optional DeviceIdentifiers device_identifiers = 6; 25 optional DeviceIdentifiers device_identifiers = 6;
24 } 26 }
25 message RegisterDeviceResponse { 27 message RegisterDeviceResponse {
26 optional ResponseHeader header = 1; 28 optional ResponseHeader header = 1;
27 optional string registered_device_id = 2; 29 optional string registered_device_id = 2;
28 } 30 }
(...skipping 28 matching lines...) Expand all
57 repeated Directive directive = 4; 59 repeated Directive directive = 4;
58 } 60 }
59 message ManageMessagesResponse { 61 message ManageMessagesResponse {
60 optional util.error.Code status = 1; 62 optional util.error.Code status = 1;
61 repeated MessageResult published_message_result = 3; 63 repeated MessageResult published_message_result = 3;
62 } 64 }
63 message ManageSubscriptionsResponse { 65 message ManageSubscriptionsResponse {
64 optional util.error.Code status = 1; 66 optional util.error.Code status = 1;
65 repeated SubscriptionResult subscription_result = 3; 67 repeated SubscriptionResult subscription_result = 3;
66 } 68 }
OLDNEW
« no previous file with comments | « components/copresence/proto/data.proto ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698