summaryrefslogtreecommitdiffstats
path: root/sync
diff options
context:
space:
mode:
authormaniscalco <maniscalco@chromium.org>2015-06-23 15:59:19 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-23 23:00:58 +0000
commitf7e52f9dd9051144e4c415c9c584d72c9e4c2a00 (patch)
tree4d8aa449d1a53f81010a8bd06dc90334720b593f /sync
parent9994ea25ff2260a0bebe36bd9ad91b694227f751 (diff)
downloadchromium_src-f7e52f9dd9051144e4c415c9c584d72c9e4c2a00.zip
chromium_src-f7e52f9dd9051144e4c415c9c584d72c9e4c2a00.tar.gz
chromium_src-f7e52f9dd9051144e4c415c9c584d72c9e4c2a00.tar.bz2
[Sync] Rename deprecated and used ClearUserData proto messages/fields
BUG=490836 Review URL: https://codereview.chromium.org/1199593006 Cr-Commit-Position: refs/heads/master@{#335790}
Diffstat (limited to 'sync')
-rw-r--r--sync/protocol/sync.proto11
1 files changed, 5 insertions, 6 deletions
diff --git a/sync/protocol/sync.proto b/sync/protocol/sync.proto
index 9bb8ba9..ed97399 100644
--- a/sync/protocol/sync.proto
+++ b/sync/protocol/sync.proto
@@ -665,10 +665,10 @@ message AuthenticateMessage {
required string auth_token = 1;
};
-message ClearUserDataMessage {
+message DeprecatedMessage1 {
};
-message ClearUserDataResponse {
+message DeprecatedMessage2 {
};
// The client must preserve, store, and resend the chip bag with
@@ -720,7 +720,7 @@ message ClientToServerMessage {
COMMIT = 1;
GET_UPDATES = 2;
AUTHENTICATE = 3;
- CLEAR_DATA = 4;
+ DEPRECATED_4 = 4;
}
required Contents message_contents = 3;
@@ -728,8 +728,7 @@ message ClientToServerMessage {
optional GetUpdatesMessage get_updates = 5;
optional AuthenticateMessage authenticate = 6;
- // Request to clear all Chromium data from the server.
- optional ClearUserDataMessage clear_user_data = 9;
+ optional DeprecatedMessage1 deprecated_field_9 = 9 [deprecated = true];
optional string store_birthday = 7; // Opaque store ID; if it changes, duck!
// The client sets this if it detects a sync issue. The server will tell it
@@ -951,7 +950,7 @@ message ClientToServerResponse {
optional ClientCommand client_command = 7;
optional ProfilingData profiling_data = 8;
- optional ClearUserDataResponse clear_user_data = 9;
+ optional DeprecatedMessage2 deprecated_field_9 = 9 [deprecated = true];
optional GetUpdatesMetadataResponse stream_metadata = 10;
// If GetUpdatesStreamingResponse is contained in the ClientToServerResponse,
// none of the other fields (error_code and etc) will be set.