OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <stdint.h> |
| 6 |
5 #include <algorithm> | 7 #include <algorithm> |
6 #include <string> | 8 #include <string> |
7 #include <vector> | 9 #include <vector> |
8 | 10 |
9 #include "base/message_loop/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
10 #include "base/run_loop.h" | 12 #include "base/run_loop.h" |
11 #include "base/strings/string_split.h" | 13 #include "base/strings/string_split.h" |
12 #include "base/strings/string_util.h" | 14 #include "base/strings/string_util.h" |
| 15 #include "build/build_config.h" |
13 #include "remoting/base/auto_thread_task_runner.h" | 16 #include "remoting/base/auto_thread_task_runner.h" |
14 #include "remoting/base/constants.h" | 17 #include "remoting/base/constants.h" |
15 #include "remoting/codec/video_encoder_verbatim.h" | 18 #include "remoting/codec/video_encoder_verbatim.h" |
16 #include "remoting/host/client_session.h" | 19 #include "remoting/host/client_session.h" |
17 #include "remoting/host/desktop_environment.h" | 20 #include "remoting/host/desktop_environment.h" |
18 #include "remoting/host/fake_desktop_environment.h" | 21 #include "remoting/host/fake_desktop_environment.h" |
19 #include "remoting/host/fake_host_extension.h" | 22 #include "remoting/host/fake_host_extension.h" |
20 #include "remoting/host/fake_mouse_cursor_monitor.h" | 23 #include "remoting/host/fake_mouse_cursor_monitor.h" |
21 #include "remoting/host/host_extension.h" | 24 #include "remoting/host/host_extension.h" |
22 #include "remoting/host/host_extension_session.h" | 25 #include "remoting/host/host_extension_session.h" |
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
515 | 518 |
516 client_session_->DisconnectSession(protocol::OK); | 519 client_session_->DisconnectSession(protocol::OK); |
517 client_session_.reset(); | 520 client_session_.reset(); |
518 | 521 |
519 // ext1 was instantiated and wrapped the video capturer. | 522 // ext1 was instantiated and wrapped the video capturer. |
520 EXPECT_TRUE(extension.was_instantiated()); | 523 EXPECT_TRUE(extension.was_instantiated()); |
521 EXPECT_TRUE(extension.has_wrapped_video_capturer()); | 524 EXPECT_TRUE(extension.has_wrapped_video_capturer()); |
522 } | 525 } |
523 | 526 |
524 } // namespace remoting | 527 } // namespace remoting |
OLD | NEW |