forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add chrome remote desktop file transfer protobufs
Bug: Change-Id: If2dd1043808a3328cd4515fe7a89cd61cd076d6f Reviewed-on: https://chromium-review.googlesource.com/585330 Commit-Queue: Joseph Arhar <jarhar@google.com> Reviewed-by: Jamie Walch <jamiewalch@chromium.org> Cr-Commit-Position: refs/heads/master@{#491029}
- Loading branch information
1 parent
49c911f
commit 899e723
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
syntax = "proto2"; | ||
|
||
option optimize_for = LITE_RUNTIME; | ||
|
||
package remoting.protocol; | ||
|
||
// Next Id: 3 | ||
message FileTransferRequest { | ||
optional string filename = 1; | ||
optional uint64 filesize = 2; | ||
} | ||
|
||
// Next Id: 4 | ||
message FileTransferResponse { | ||
enum TransferState { | ||
READY = 1; | ||
IN_PROGRESS = 2; | ||
DONE = 3; | ||
} | ||
optional TransferState state = 1; | ||
|
||
enum ErrorCode { | ||
OUT_OF_DISK_SPACE = 1; | ||
PERMISSIONS_ERROR = 2; | ||
} | ||
optional ErrorCode error = 2; | ||
|
||
optional uint64 total_bytes_written = 3; | ||
} |