OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/bind.h" | 5 #include "base/bind.h" |
6 #include "base/bind_helpers.h" | 6 #include "base/bind_helpers.h" |
7 #include "base/callback.h" | 7 #include "base/callback.h" |
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 "base/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
(...skipping 12 matching lines...) Expand all Loading... |
23 #include "remoting/host/desktop_process.h" | 23 #include "remoting/host/desktop_process.h" |
24 #include "remoting/host/desktop_session.h" | 24 #include "remoting/host/desktop_session.h" |
25 #include "remoting/host/desktop_session_connector.h" | 25 #include "remoting/host/desktop_session_connector.h" |
26 #include "remoting/host/desktop_session_proxy.h" | 26 #include "remoting/host/desktop_session_proxy.h" |
27 #include "remoting/host/host_mock_objects.h" | 27 #include "remoting/host/host_mock_objects.h" |
28 #include "remoting/host/ipc_desktop_environment.h" | 28 #include "remoting/host/ipc_desktop_environment.h" |
29 #include "remoting/host/screen_capturer_fake.h" | 29 #include "remoting/host/screen_capturer_fake.h" |
30 #include "remoting/protocol/protocol_mock_objects.h" | 30 #include "remoting/protocol/protocol_mock_objects.h" |
31 #include "testing/gmock/include/gmock/gmock.h" | 31 #include "testing/gmock/include/gmock/gmock.h" |
32 #include "testing/gtest/include/gtest/gtest.h" | 32 #include "testing/gtest/include/gtest/gtest.h" |
33 #include "third_party/skia/include/core/SkRegion.h" | |
34 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" | 33 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" |
35 #include "third_party/webrtc/modules/desktop_capture/desktop_region.h" | 34 #include "third_party/webrtc/modules/desktop_capture/desktop_region.h" |
36 #include "third_party/webrtc/modules/desktop_capture/screen_capturer_mock_object
s.h" | 35 #include "third_party/webrtc/modules/desktop_capture/screen_capturer_mock_object
s.h" |
37 | 36 |
38 using testing::_; | 37 using testing::_; |
39 using testing::AnyNumber; | 38 using testing::AnyNumber; |
40 using testing::AtLeast; | 39 using testing::AtLeast; |
41 using testing::AtMost; | 40 using testing::AtMost; |
42 using testing::DeleteArg; | 41 using testing::DeleteArg; |
43 using testing::DoAll; | 42 using testing::DoAll; |
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
650 screen_controls_->SetScreenResolution(ScreenResolution( | 649 screen_controls_->SetScreenResolution(ScreenResolution( |
651 webrtc::DesktopSize(100, 100), | 650 webrtc::DesktopSize(100, 100), |
652 webrtc::DesktopVector(96, 96))); | 651 webrtc::DesktopVector(96, 96))); |
653 | 652 |
654 task_runner_ = NULL; | 653 task_runner_ = NULL; |
655 io_task_runner_ = NULL; | 654 io_task_runner_ = NULL; |
656 main_run_loop_.Run(); | 655 main_run_loop_.Run(); |
657 } | 656 } |
658 | 657 |
659 } // namespace remoting | 658 } // namespace remoting |
OLD | NEW |