diff options
author | ckehoe@chromium.org <ckehoe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-13 00:11:21 +0000 |
---|---|---|
committer | ckehoe@chromium.org <ckehoe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-13 00:12:39 +0000 |
commit | 4bf1d748acb3bae7ea8447ae80b6f24bb626eedd (patch) | |
tree | 5020305fa400edbccca97e7cfeb90cdab1757380 /components/copresence/proto | |
parent | 4c0be61f62c9b80b2a8509f27b3f2463c5ba8565 (diff) | |
download | chromium_src-4bf1d748acb3bae7ea8447ae80b6f24bb626eedd.zip chromium_src-4bf1d748acb3bae7ea8447ae80b6f24bb626eedd.tar.gz chromium_src-4bf1d748acb3bae7ea8447ae80b6f24bb626eedd.tar.bz2 |
We have recently removed usage of these deprecated fields from the code. This CL removes them from the protos too.
Review URL: https://codereview.chromium.org/467753002
Cr-Commit-Position: refs/heads/master@{#289130}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289130 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/copresence/proto')
-rw-r--r-- | components/copresence/proto/data.proto | 18 | ||||
-rw-r--r-- | components/copresence/proto/enums.proto | 7 | ||||
-rw-r--r-- | components/copresence/proto/identity.proto | 1 | ||||
-rw-r--r-- | components/copresence/proto/rpcs.proto | 9 |
4 files changed, 0 insertions, 35 deletions
diff --git a/components/copresence/proto/data.proto b/components/copresence/proto/data.proto index 9f7967b..300406b 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; @@ -136,10 +122,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; } diff --git a/components/copresence/proto/enums.proto b/components/copresence/proto/enums.proto index 9356cab..10e8014 100644 --- a/components/copresence/proto/enums.proto +++ b/components/copresence/proto/enums.proto @@ -64,13 +64,6 @@ enum TransmissionStrategy { OPPORTUNISTIC = 2; PASSIVE = 3; } -enum DeleteAllType { - UNKNOWN_DELETE_ALL_TYPE = 0; - DELETE_NONE = 1; - DELETE_ALL_FOR_IDENTITY_DEVICE = 2; - DELETE_ALL_FOR_IDENTITY = 3; - DELETE_ALL_FOR_DEVICE_APP = 4; -} enum StatusCode { STATUS_CODE_UNKNOWN = -1; OK = 0; diff --git a/components/copresence/proto/identity.proto b/components/copresence/proto/identity.proto index c89f661..6c104ed 100644 --- a/components/copresence/proto/identity.proto +++ b/components/copresence/proto/identity.proto @@ -4,7 +4,6 @@ option optimize_for = LITE_RUNTIME; import "enums.proto"; message Identity { optional IdentityType type = 1; - optional string obfuscated_gaia_id = 2 [deprecated = true]; optional string chromecast_id = 3; optional string android_id = 4; optional string chrome_id = 5; diff --git a/components/copresence/proto/rpcs.proto b/components/copresence/proto/rpcs.proto index bdbed2e..22b868f 100644 --- a/components/copresence/proto/rpcs.proto +++ b/components/copresence/proto/rpcs.proto @@ -5,24 +5,19 @@ import "codes.proto"; import "enums.proto"; import "data.proto"; message RequestHeader { - optional DeviceRegistration device_id = 3 [deprecated = true]; optional ClientVersion client_version = 4; optional ClientVersion framework_version = 5; optional int64 current_time_millis = 6; optional string registered_device_id = 7; repeated string experiment_override = 8; optional string configuration_etag = 11; - extensions 9 to 9; } message ResponseHeader { - optional ErrorType error_type = 1 [deprecated = true]; optional DebugInfo debug_info = 2; optional Status status = 3; } message RegisterDeviceRequest { optional RequestHeader header = 1; - optional DeviceRegistration old_registration = 2 [deprecated = true]; - optional DeviceRegistration new_registration = 3 [deprecated = true]; optional PushServiceRegistration push_service = 5; optional DeviceIdentifiers device_identifiers = 6; } @@ -43,12 +38,10 @@ message UpdateSignalsRequest { message ManageMessagesRequest { repeated PublishedMessage message_to_publish = 1; repeated string id_to_unpublish = 2; - optional DeleteAll delete_all = 3; } message ManageSubscriptionsRequest { repeated Subscription subscription = 1; repeated string id_to_unsubscribe = 2; - optional DeleteAll delete_all = 3; } message ReportResponse { optional ResponseHeader header = 1; @@ -65,10 +58,8 @@ message UpdateSignalsResponse { message ManageMessagesResponse { optional util.error.Code status = 1; repeated MessageResult published_message_result = 3; - extensions 2 to 2; } message ManageSubscriptionsResponse { optional util.error.Code status = 1; repeated SubscriptionResult subscription_result = 3; - extensions 2 to 2; } |