Update client-side sync.proto file so that it is in sync with the

server-side version

BUG=

Review URL: https://chromiumcodereview.appspot.com/23985004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221910 0039d316-1c4b-4281-b951-d872f2087c98
parent dc8ec3f4
...@@ -590,6 +590,12 @@ message AuthenticateMessage { ...@@ -590,6 +590,12 @@ message AuthenticateMessage {
required string auth_token = 1; required string auth_token = 1;
}; };
message ClearUserDataMessage {
};
message ClearUserDataResponse {
};
// The client must preserve, store, and resend the chip bag with // The client must preserve, store, and resend the chip bag with
// every request. The server depends on the chip bag in order // every request. The server depends on the chip bag in order
// to precisely choreograph a client-server state machines. // to precisely choreograph a client-server state machines.
...@@ -637,8 +643,7 @@ message ClientToServerMessage { ...@@ -637,8 +643,7 @@ message ClientToServerMessage {
optional AuthenticateMessage authenticate = 6; optional AuthenticateMessage authenticate = 6;
// Request to clear all Chromium data from the server. // Request to clear all Chromium data from the server.
// DEPRECATED - this field was never used in production. optional ClearUserDataMessage clear_user_data = 9;
// optional ClearUserDataMessage clear_user_data = 9;
optional string store_birthday = 7; // Opaque store ID; if it changes, duck! 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 // The client sets this if it detects a sync issue. The server will tell it
...@@ -668,6 +673,27 @@ message ClientToServerMessage { ...@@ -668,6 +673,27 @@ message ClientToServerMessage {
optional string invalidator_client_id = 14; optional string invalidator_client_id = 14;
}; };
// This request allows the client to convert a specific crash identifier
// into more general information (e.g. hash of the crashing call stack)
// suitable for upload in an (authenticated) DebugInfo event.
message GetCrashInfoRequest {
// Id of the uploaded crash.
optional string crash_id = 1;
// Time that the crash occurred.
optional int64 crash_time_millis = 2;
}
// Proto to be written in its entirety to the debug info log.
message GetCrashInfoResponse {
// Hash of the crashing call stack.
optional string stack_id = 1;
// Time of the crash, potentially rounded to remove
// significant bits.
optional int64 crash_time_millis = 2;
}
message CommitResponse { message CommitResponse {
enum ResponseType { enum ResponseType {
SUCCESS = 1; SUCCESS = 1;
...@@ -836,8 +862,7 @@ message ClientToServerResponse { ...@@ -836,8 +862,7 @@ message ClientToServerResponse {
optional ClientCommand client_command = 7; optional ClientCommand client_command = 7;
optional ProfilingData profiling_data = 8; optional ProfilingData profiling_data = 8;
// DEPRECATED - this field was never used in production. optional ClearUserDataResponse clear_user_data = 9;
// optional ClearUserDataResponse clear_user_data = 9;
optional GetUpdatesMetadataResponse stream_metadata = 10; optional GetUpdatesMetadataResponse stream_metadata = 10;
// If GetUpdatesStreamingResponse is contained in the ClientToServerResponse, // If GetUpdatesStreamingResponse is contained in the ClientToServerResponse,
// none of the other fields (error_code and etc) will be set. // none of the other fields (error_code and etc) will be set.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment