| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Internal message types that should not be seen outside the protocol | 5 // Internal message types that should not be seen outside the protocol |
| 6 // directory. | 6 // directory. |
| 7 | 7 |
| 8 syntax = "proto2"; | 8 syntax = "proto2"; |
| 9 | 9 |
| 10 option optimize_for = LITE_RUNTIME; | 10 option optimize_for = LITE_RUNTIME; |
| 11 | 11 |
| 12 package remoting; | 12 package remoting; |
| 13 | 13 |
| 14 // Next Id: 13 |
| 14 message FrameStatsMessage { | 15 message FrameStatsMessage { |
| 15 // Frame ID. | 16 // Frame ID. |
| 16 optional uint32 frame_id = 1; | 17 optional uint32 frame_id = 1; |
| 17 | 18 |
| 18 // Frame size. | 19 // Frame size. |
| 19 optional int32 frame_size = 2; | 20 optional int32 frame_size = 2; |
| 20 | 21 |
| 21 // Id of the last event that was injected before this frame was captured. | 22 // Id of the last event that was injected before this frame was captured. |
| 22 optional int64 latest_event_timestamp = 3; | 23 optional int64 latest_event_timestamp = 3; |
| 23 | 24 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 37 optional int32 encode_time_ms = 8; | 38 optional int32 encode_time_ms = 8; |
| 38 | 39 |
| 39 // Time for which the frame is blocked until it's sent to the client. | 40 // Time for which the frame is blocked until it's sent to the client. |
| 40 optional int32 send_pending_time_ms = 9; | 41 optional int32 send_pending_time_ms = 9; |
| 41 | 42 |
| 42 // Current network RTT estimate. | 43 // Current network RTT estimate. |
| 43 optional int32 rtt_estimate_ms = 10; | 44 optional int32 rtt_estimate_ms = 10; |
| 44 | 45 |
| 45 // Current bandwidth estimate in kb/s. | 46 // Current bandwidth estimate in kb/s. |
| 46 optional int32 bandwidth_estimate_kbps = 11; | 47 optional int32 bandwidth_estimate_kbps = 11; |
| 48 |
| 49 // The capturer Id to indicate the implementation of ScreenCapturer that |
| 50 // generates this frame. |
| 51 optional uint32 capturer_id = 12; |
| 47 } | 52 } |
| 48 | 53 |
| OLD | NEW |