OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef REMOTING_CLIENT_SOFTWARE_VIDEO_RENDERER_H_ | 5 #ifndef REMOTING_CLIENT_SOFTWARE_VIDEO_RENDERER_H_ |
6 #define REMOTING_CLIENT_SOFTWARE_VIDEO_RENDERER_H_ | 6 #define REMOTING_CLIENT_SOFTWARE_VIDEO_RENDERER_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "remoting/client/chromoting_stats.h" | 10 #include "remoting/client/chromoting_stats.h" |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
65 | 65 |
66 // Callback method when a VideoPacket is processed. |decode_start| contains | 66 // Callback method when a VideoPacket is processed. |decode_start| contains |
67 // the timestamp when the packet will start to be processed. | 67 // the timestamp when the packet will start to be processed. |
68 void OnPacketDone(base::Time decode_start, const base::Closure& done); | 68 void OnPacketDone(base::Time decode_start, const base::Closure& done); |
69 | 69 |
70 scoped_refptr<base::SingleThreadTaskRunner> decode_task_runner_; | 70 scoped_refptr<base::SingleThreadTaskRunner> decode_task_runner_; |
71 scoped_ptr<Core> core_; | 71 scoped_ptr<Core> core_; |
72 | 72 |
73 ChromotingStats stats_; | 73 ChromotingStats stats_; |
74 | 74 |
75 // Keep track of the most recent sequence number bounced back from the host. | 75 // Keep track of the event timestamp bounced back from the host. |
76 int64 latest_sequence_number_; | 76 int64 last_event_timestamp_; |
Wez
2015/01/07 23:56:19
s/last/latest
Sergey Ulanov
2015/01/08 17:40:26
Done.
| |
77 | 77 |
78 base::WeakPtrFactory<SoftwareVideoRenderer> weak_factory_; | 78 base::WeakPtrFactory<SoftwareVideoRenderer> weak_factory_; |
79 | 79 |
80 DISALLOW_COPY_AND_ASSIGN(SoftwareVideoRenderer); | 80 DISALLOW_COPY_AND_ASSIGN(SoftwareVideoRenderer); |
81 }; | 81 }; |
82 | 82 |
83 } // namespace remoting | 83 } // namespace remoting |
84 | 84 |
85 #endif // REMOTING_CLIENT_SOFTWARE_VIDEO_RENDERER_H_ | 85 #endif // REMOTING_CLIENT_SOFTWARE_VIDEO_RENDERER_H_ |
OLD | NEW |