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_CHROMOTING_TEST_DRIVER_ENVIRONMENT_H_ | 5 #ifndef REMOTING_TEST_CHROMOTING_TEST_DRIVER_ENVIRONMENT_H_ |
6 #define REMOTING_TEST_CHROMOTING_TEST_DRIVER_ENVIRONMENT_H_ | 6 #define REMOTING_TEST_CHROMOTING_TEST_DRIVER_ENVIRONMENT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
| 13 #include "base/macros.h" |
13 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
14 #include "remoting/test/host_info.h" | 15 #include "remoting/test/host_info.h" |
15 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
16 | 17 |
17 namespace base { | 18 namespace base { |
18 class MessageLoopForIO; | 19 class MessageLoopForIO; |
19 } | 20 } |
20 | 21 |
21 namespace remoting { | 22 namespace remoting { |
22 namespace test { | 23 namespace test { |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 | 146 |
146 // Unfortunately a global var is how the GTEST framework handles sharing data | 147 // Unfortunately a global var is how the GTEST framework handles sharing data |
147 // between tests and keeping long-lived objects around. Used to share access | 148 // between tests and keeping long-lived objects around. Used to share access |
148 // tokens and a host list across tests. | 149 // tokens and a host list across tests. |
149 extern ChromotingTestDriverEnvironment* g_chromoting_shared_data; | 150 extern ChromotingTestDriverEnvironment* g_chromoting_shared_data; |
150 | 151 |
151 } // namespace test | 152 } // namespace test |
152 } // namespace remoting | 153 } // namespace remoting |
153 | 154 |
154 #endif // REMOTING_TEST_CHROMOTING_TEST_DRIVER_ENVIRONMENT_H_ | 155 #endif // REMOTING_TEST_CHROMOTING_TEST_DRIVER_ENVIRONMENT_H_ |
OLD | NEW |