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

Unified Diff: components/copresence/proto/data.proto

Issue 433283002: Adding the Copresence RpcHandler and HttpPost helper. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@directive-handler
Patch Set: Fixes for DEPS review 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 side-by-side diff with in-line comments
Download patch
Index: components/copresence/proto/data.proto
diff --git a/components/copresence/proto/data.proto b/components/copresence/proto/data.proto
index a03df3c7d910c37643dc8a19232e00aefb145dab..9ff4adc667b6a82699d9db0c5017360f9ab7a6d2 100644
--- a/components/copresence/proto/data.proto
+++ b/components/copresence/proto/data.proto
@@ -13,16 +13,6 @@ message Status {
optional StatusCode code = 1;
optional string message = 2;
}
-message DeviceRegistration {
- optional PushService service = 1 [deprecated = true];
- optional string device_token = 2 [deprecated = true];
- optional DeviceIdentity device_identity = 3 [deprecated = true];
- optional string app_name = 4 [deprecated = true];
- optional bytes device_token_binary = 5 [deprecated = true];
- optional string registered_device_id = 6 [deprecated = true];
- optional int32 ulr_device_id = 7 [deprecated = true];
- optional Identity registrant = 8 [deprecated = true];
-}
message PushServiceRegistration {
optional PushService service = 1;
}
@@ -34,10 +24,8 @@ message DeviceIdentifiers {
message Token {
message Debug {
repeated string email = 2;
- extensions 1 to 1;
}
optional string id = 1;
- optional uint32 ttl_millis_deprecated = 2 [deprecated = true];
optional TokenStatus status = 3;
optional Debug debug = 4;
}
@@ -67,7 +55,6 @@ message DeviceState {
}
message DebugInfo {
optional string served_by_task = 1;
- optional bool listen_initiated_by_location_deprecated = 2 [deprecated = true];
repeated string token_id = 3;
optional int64 request_time_millis = 4;
}
@@ -83,7 +70,6 @@ message TokenSignals {
message AccessPolicy {
optional int64 ttl_millis = 1;
optional Acl acl = 2;
- extensions 4 to 4;
}
message Acl {
optional AclType acl_type = 1;
@@ -132,10 +118,6 @@ message Subscription {
optional TokenExchangeStrategy token_exchange_strategy = 7;
optional OptInStateFilter opt_in_state_filter = 8;
}
-message DeleteAll {
- optional DeleteAllType type = 1;
- repeated string namespace = 2;
-}
message MessageResult {
optional string published_message_id = 1;
}

Powered by Google App Engine
This is Rietveld 408576698