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 #include <utility> | 5 #include <utility> |
6 | 6 |
7 #include "base/base64.h" | 7 #include "base/base64.h" |
8 #include "base/files/file_util.h" | 8 #include "base/files/file_util.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 connecting_loop_->Quit(); | 133 connecting_loop_->Quit(); |
134 } | 134 } |
135 } | 135 } |
136 void OnConnectionReady(bool ready) override {} | 136 void OnConnectionReady(bool ready) override {} |
137 void OnRouteChanged(const std::string& channel_name, | 137 void OnRouteChanged(const std::string& channel_name, |
138 const protocol::TransportRoute& route) override {} | 138 const protocol::TransportRoute& route) override {} |
139 void SetCapabilities(const std::string& capabilities) override {} | 139 void SetCapabilities(const std::string& capabilities) override {} |
140 void SetPairingResponse( | 140 void SetPairingResponse( |
141 const protocol::PairingResponse& pairing_response) override {} | 141 const protocol::PairingResponse& pairing_response) override {} |
142 void DeliverHostMessage(const protocol::ExtensionMessage& message) override {} | 142 void DeliverHostMessage(const protocol::ExtensionMessage& message) override {} |
| 143 void SetDesktopSize(const webrtc::DesktopSize& size, |
| 144 const webrtc::DesktopVector& dpi) override {} |
143 protocol::ClipboardStub* GetClipboardStub() override { return nullptr; } | 145 protocol::ClipboardStub* GetClipboardStub() override { return nullptr; } |
144 protocol::CursorShapeStub* GetCursorShapeStub() override { | 146 protocol::CursorShapeStub* GetCursorShapeStub() override { |
145 return &cursor_shape_stub_; | 147 return &cursor_shape_stub_; |
146 } | 148 } |
147 | 149 |
148 // VideoRenderer interface. | 150 // VideoRenderer interface. |
149 void OnSessionConfig(const protocol::SessionConfig& config) override {} | 151 void OnSessionConfig(const protocol::SessionConfig& config) override {} |
150 protocol::VideoStub* GetVideoStub() override { return this; } | 152 protocol::VideoStub* GetVideoStub() override { return this; } |
151 protocol::FrameConsumer* GetFrameConsumer() override { return this; } | 153 protocol::FrameConsumer* GetFrameConsumer() override { return this; } |
152 | 154 |
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
627 | 629 |
628 TEST_P(ProtocolPerfTest, TotalLatencyIce) { | 630 TEST_P(ProtocolPerfTest, TotalLatencyIce) { |
629 MeasureTotalLatency(false); | 631 MeasureTotalLatency(false); |
630 } | 632 } |
631 | 633 |
632 TEST_P(ProtocolPerfTest, TotalLatencyWebrtc) { | 634 TEST_P(ProtocolPerfTest, TotalLatencyWebrtc) { |
633 MeasureTotalLatency(true); | 635 MeasureTotalLatency(true); |
634 } | 636 } |
635 | 637 |
636 } // namespace remoting | 638 } // namespace remoting |
OLD | NEW |