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 <numeric> | 5 #include <numeric> |
6 #include <utility> | 6 #include <utility> |
7 | 7 |
8 #include "base/base64.h" | 8 #include "base/base64.h" |
9 #include "base/files/file_util.h" | 9 #include "base/files/file_util.h" |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 double out_of_order_rate; | 84 double out_of_order_rate; |
85 base::TimeDelta signaling_latency; | 85 base::TimeDelta signaling_latency; |
86 }; | 86 }; |
87 | 87 |
88 class FakeCursorShapeStub : public protocol::CursorShapeStub { | 88 class FakeCursorShapeStub : public protocol::CursorShapeStub { |
89 public: | 89 public: |
90 FakeCursorShapeStub() {} | 90 FakeCursorShapeStub() {} |
91 ~FakeCursorShapeStub() override {} | 91 ~FakeCursorShapeStub() override {} |
92 | 92 |
93 // protocol::CursorShapeStub interface. | 93 // protocol::CursorShapeStub interface. |
94 void SetCursorShape(const protocol::CursorShapeInfo& cursor_shape) override{}; | 94 void SetCursorShape(const protocol::CursorShapeInfo& cursor_shape) override {} |
95 }; | 95 }; |
96 | 96 |
97 } // namespace | 97 } // namespace |
98 | 98 |
99 class ProtocolPerfTest | 99 class ProtocolPerfTest |
100 : public testing::Test, | 100 : public testing::Test, |
101 public testing::WithParamInterface<NetworkPerformanceParams>, | 101 public testing::WithParamInterface<NetworkPerformanceParams>, |
102 public ClientUserInterface, | 102 public ClientUserInterface, |
103 public protocol::FrameConsumer, | 103 public protocol::FrameConsumer, |
104 public protocol::FrameStatsConsumer, | 104 public protocol::FrameStatsConsumer, |
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
641 | 641 |
642 TEST_P(ProtocolPerfTest, ScrollPerformanceIce) { | 642 TEST_P(ProtocolPerfTest, ScrollPerformanceIce) { |
643 MeasureScrollPerformance(false); | 643 MeasureScrollPerformance(false); |
644 } | 644 } |
645 | 645 |
646 TEST_P(ProtocolPerfTest, ScrollPerformanceWebrtc) { | 646 TEST_P(ProtocolPerfTest, ScrollPerformanceWebrtc) { |
647 MeasureScrollPerformance(true); | 647 MeasureScrollPerformance(true); |
648 } | 648 } |
649 | 649 |
650 } // namespace remoting | 650 } // namespace remoting |
OLD | NEW |