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

Side by Side Diff: components/copresence/proto/data.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/config_data.proto ('k') | components/copresence/proto/rpcs.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 "config_data.proto";
4 import "enums.proto"; 5 import "enums.proto";
5 import "identity.proto"; 6 import "identity.proto";
6 message ClientVersion { 7 message ClientVersion {
7 optional string client = 1; 8 optional string client = 1;
8 optional string version_name = 2; 9 optional string version_name = 2;
9 optional int64 version_code = 3; 10 optional int64 version_code = 3;
10 optional string certificate_fingerprint = 4; 11 optional string certificate_fingerprint = 4;
11 } 12 }
12 message Status { 13 message Status {
13 optional StatusCode code = 1; 14 optional StatusCode code = 1;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 optional TokenMedium medium = 2; 52 optional TokenMedium medium = 2;
52 optional string token_id = 4; 53 optional string token_id = 4;
53 } 54 }
54 message Directive { 55 message Directive {
55 optional InstructionType instruction_type = 1; 56 optional InstructionType instruction_type = 1;
56 optional TokenInstruction token_instruction = 2; 57 optional TokenInstruction token_instruction = 2;
57 optional int64 delay_millis = 3; 58 optional int64 delay_millis = 3;
58 optional int64 ttl_millis = 4; 59 optional int64 ttl_millis = 4;
59 optional string published_message_id = 5; 60 optional string published_message_id = 5;
60 optional string subscription_id = 6; 61 optional string subscription_id = 6;
62 optional DirectiveConfiguration configuration = 7;
61 } 63 }
62 message DeviceState { 64 message DeviceState {
63 optional DeviceCapabilities capabilities = 1; 65 optional DeviceCapabilities capabilities = 1;
64 repeated Directive active_directive = 2; 66 repeated Directive active_directive = 2;
65 } 67 }
66 message DebugInfo { 68 message DebugInfo {
67 optional string served_by_task = 1; 69 optional string served_by_task = 1;
68 repeated string token_id = 3; 70 repeated string token_id = 3;
69 optional int64 request_time_millis = 4; 71 optional int64 request_time_millis = 4;
70 } 72 }
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 } 128 }
127 message MessageResult { 129 message MessageResult {
128 optional string published_message_id = 1; 130 optional string published_message_id = 1;
129 } 131 }
130 message SubscriptionResult { 132 message SubscriptionResult {
131 optional string subscription_id = 1; 133 optional string subscription_id = 1;
132 } 134 }
133 message OptInStateFilter { 135 message OptInStateFilter {
134 repeated OptInState allowed_opt_in_state = 1; 136 repeated OptInState allowed_opt_in_state = 1;
135 } 137 }
OLDNEW
« no previous file with comments | « components/copresence/proto/config_data.proto ('k') | components/copresence/proto/rpcs.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698