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

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

Issue 2130803002: Deleting the copresence API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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
(Empty)
1 syntax = "proto2";
2 package copresence;
3 option optimize_for = LITE_RUNTIME;
4 import "codes.proto";
5 import "config_data.proto";
6 import "data.proto";
7 message RequestHeader {
8 optional ClientVersion client_version = 4;
9 optional ClientVersion framework_version = 5;
10 optional int64 current_time_millis = 6;
11 optional string registered_device_id = 7;
12 repeated string experiment_override = 8;
13 optional DeviceFingerprint device_fingerprint = 10;
14 optional string configuration_etag = 11;
15 }
16 message ResponseHeader {
17 optional DebugInfo debug_info = 2;
18 optional Status status = 3;
19 optional Configuration configuration = 4;
20 }
21 message RegisterDeviceRequest {
22 optional RequestHeader header = 1;
23 optional PushServiceRegistration push_service = 5;
24 optional DeviceIdentifiers device_identifiers = 6;
25 }
26 message RegisterDeviceResponse {
27 optional ResponseHeader header = 1;
28 optional string registered_device_id = 2;
29 }
30 message ReportRequest {
31 optional RequestHeader header = 1;
32 optional ManageMessagesRequest manage_messages_request = 2;
33 optional ManageSubscriptionsRequest manage_subscriptions_request = 3;
34 optional UpdateSignalsRequest update_signals_request = 4;
35 }
36 message UpdateSignalsRequest {
37 repeated TokenObservation token_observation = 1;
38 optional DeviceState state = 3;
39 }
40 message ManageMessagesRequest {
41 repeated PublishedMessage message_to_publish = 1;
42 repeated string id_to_unpublish = 2;
43 }
44 message ManageSubscriptionsRequest {
45 repeated Subscription subscription = 1;
46 repeated string id_to_unsubscribe = 2;
47 }
48 message ReportResponse {
49 optional ResponseHeader header = 1;
50 optional ManageMessagesResponse manage_messages_response = 2;
51 optional ManageSubscriptionsResponse manage_subscriptions_response = 3;
52 optional UpdateSignalsResponse update_signals_response = 4;
53 }
54 message UpdateSignalsResponse {
55 optional util.error.Code status = 1;
56 repeated Token token = 2;
57 repeated SubscribedMessage message = 3;
58 repeated Directive directive = 4;
59 }
60 message ManageMessagesResponse {
61 optional util.error.Code status = 1;
62 repeated MessageResult published_message_result = 3;
63 }
64 message ManageSubscriptionsResponse {
65 optional util.error.Code status = 1;
66 repeated SubscriptionResult subscription_result = 3;
67 }
OLDNEW
« no previous file with comments | « components/copresence/proto/push_message.proto ('k') | components/copresence/public/copresence_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698