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

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

Issue 469883002: Using API key specified from js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding fingerprint test Created 6 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 unified diff | Download patch
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 "enums.proto"; 5 import "enums.proto";
6 import "data.proto"; 6 import "data.proto";
7 message RequestHeader { 7 message RequestHeader {
8 optional ClientVersion client_version = 4; 8 optional ClientVersion client_version = 4;
9 optional ClientVersion framework_version = 5; 9 optional ClientVersion framework_version = 5;
10 optional int64 current_time_millis = 6; 10 optional int64 current_time_millis = 6;
11 optional string registered_device_id = 7; 11 optional string registered_device_id = 7;
12 repeated string experiment_override = 8; 12 repeated string experiment_override = 8;
13 optional DeviceFingerprint device_fingerprint = 10;
13 optional string configuration_etag = 11; 14 optional string configuration_etag = 11;
14 } 15 }
15 message ResponseHeader { 16 message ResponseHeader {
16 optional DebugInfo debug_info = 2; 17 optional DebugInfo debug_info = 2;
17 optional Status status = 3; 18 optional Status status = 3;
18 } 19 }
19 message RegisterDeviceRequest { 20 message RegisterDeviceRequest {
20 optional RequestHeader header = 1; 21 optional RequestHeader header = 1;
21 optional PushServiceRegistration push_service = 5; 22 optional PushServiceRegistration push_service = 5;
22 optional DeviceIdentifiers device_identifiers = 6; 23 optional DeviceIdentifiers device_identifiers = 6;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 repeated Directive directive = 4; 57 repeated Directive directive = 4;
57 } 58 }
58 message ManageMessagesResponse { 59 message ManageMessagesResponse {
59 optional util.error.Code status = 1; 60 optional util.error.Code status = 1;
60 repeated MessageResult published_message_result = 3; 61 repeated MessageResult published_message_result = 3;
61 } 62 }
62 message ManageSubscriptionsResponse { 63 message ManageSubscriptionsResponse {
63 optional util.error.Code status = 1; 64 optional util.error.Code status = 1;
64 repeated SubscriptionResult subscription_result = 3; 65 repeated SubscriptionResult subscription_result = 3;
65 } 66 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698