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 "base/macros.h" |
5 #include "base/strings/string_split.h" | 6 #include "base/strings/string_split.h" |
6 #include "base/strings/string_util.h" | 7 #include "base/strings/string_util.h" |
7 #include "remoting/codec/video_encoder.h" | 8 #include "remoting/codec/video_encoder.h" |
8 #include "remoting/host/fake_host_extension.h" | 9 #include "remoting/host/fake_host_extension.h" |
9 #include "remoting/host/host_extension_session_manager.h" | 10 #include "remoting/host/host_extension_session_manager.h" |
10 #include "remoting/host/host_mock_objects.h" | 11 #include "remoting/host/host_mock_objects.h" |
11 #include "remoting/proto/control.pb.h" | 12 #include "remoting/proto/control.pb.h" |
12 #include "remoting/protocol/protocol_mock_objects.h" | 13 #include "remoting/protocol/protocol_mock_objects.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
14 #include "third_party/webrtc/modules/desktop_capture/desktop_capturer.h" | 15 #include "third_party/webrtc/modules/desktop_capture/desktop_capturer.h" |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 EXPECT_CALL(client_session_control_, ResetVideoPipeline()); | 182 EXPECT_CALL(client_session_control_, ResetVideoPipeline()); |
182 | 183 |
183 // Set up only the first extension to request to modify the video pipeline. | 184 // Set up only the first extension to request to modify the video pipeline. |
184 extension1_.set_steal_video_capturer(true); | 185 extension1_.set_steal_video_capturer(true); |
185 | 186 |
186 extension_manager.OnNegotiatedCapabilities(&client_stub_, "cap1"); | 187 extension_manager.OnNegotiatedCapabilities(&client_stub_, "cap1"); |
187 } | 188 } |
188 | 189 |
189 | 190 |
190 } // namespace remoting | 191 } // namespace remoting |
OLD | NEW |