| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef REMOTING_TEST_APP_REMOTING_CONNECTION_HELPER_H_ | 5 #ifndef REMOTING_TEST_APP_REMOTING_CONNECTION_HELPER_H_ |
| 6 #define REMOTING_TEST_APP_REMOTING_CONNECTION_HELPER_H_ | 6 #define REMOTING_TEST_APP_REMOTING_CONNECTION_HELPER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "base/threading/thread_checker.h" | 13 #include "base/threading/thread_checker.h" |
| 14 #include "remoting/test/remote_connection_observer.h" | 14 #include "remoting/test/remote_connection_observer.h" |
| 15 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
| 16 | 16 |
| 17 namespace base { | 17 namespace base { |
| 18 class RunLoop; | 18 class RunLoop; |
| 19 class Timer; | 19 class Timer; |
| 20 class Lock; | |
| 21 } | 20 } |
| 22 | 21 |
| 23 namespace remoting { | 22 namespace remoting { |
| 24 namespace test { | 23 namespace test { |
| 25 | 24 |
| 26 struct RemoteApplicationDetails; | 25 struct RemoteApplicationDetails; |
| 27 class TestChromotingClient; | 26 class TestChromotingClient; |
| 28 | 27 |
| 29 // Creates a connection to a remote host which is available for tests to use. | 28 // Creates a connection to a remote host which is available for tests to use. |
| 30 // A TestChromotingClient is required from caller. | 29 // A TestChromotingClient is required from caller. |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 // Creates and manages the connection to the remote host. | 86 // Creates and manages the connection to the remote host. |
| 88 std::unique_ptr<TestChromotingClient> client_; | 87 std::unique_ptr<TestChromotingClient> client_; |
| 89 | 88 |
| 90 DISALLOW_COPY_AND_ASSIGN(AppRemotingConnectionHelper); | 89 DISALLOW_COPY_AND_ASSIGN(AppRemotingConnectionHelper); |
| 91 }; | 90 }; |
| 92 | 91 |
| 93 } // namespace test | 92 } // namespace test |
| 94 } // namespace remoting | 93 } // namespace remoting |
| 95 | 94 |
| 96 #endif // REMOTING_TEST_APP_REMOTING_CONNECTION_HELPER_H_ | 95 #endif // REMOTING_TEST_APP_REMOTING_CONNECTION_HELPER_H_ |
| OLD | NEW |