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_TEST_DRIVER_ENVIRONMENT_H_ | 5 #ifndef REMOTING_TEST_APP_REMOTING_TEST_DRIVER_ENVIRONMENT_H_ |
6 #define REMOTING_TEST_APP_REMOTING_TEST_DRIVER_ENVIRONMENT_H_ | 6 #define REMOTING_TEST_APP_REMOTING_TEST_DRIVER_ENVIRONMENT_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
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/remote_application_details.h" | 15 #include "remoting/test/remote_application_details.h" |
15 #include "remoting/test/remote_host_info_fetcher.h" | 16 #include "remoting/test/remote_host_info_fetcher.h" |
16 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" |
17 | 18 |
18 namespace base { | 19 namespace base { |
19 class MessageLoopForIO; | 20 class MessageLoopForIO; |
20 } | 21 } |
21 | 22 |
22 namespace remoting { | 23 namespace remoting { |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 | 167 |
167 // Unfortunately a global var is how the GTEST framework handles sharing data | 168 // Unfortunately a global var is how the GTEST framework handles sharing data |
168 // between tests and keeping long-lived objects around. Used to share auth | 169 // between tests and keeping long-lived objects around. Used to share auth |
169 // tokens and remote host connection information across tests. | 170 // tokens and remote host connection information across tests. |
170 extern AppRemotingTestDriverEnvironment* AppRemotingSharedData; | 171 extern AppRemotingTestDriverEnvironment* AppRemotingSharedData; |
171 | 172 |
172 } // namespace test | 173 } // namespace test |
173 } // namespace remoting | 174 } // namespace remoting |
174 | 175 |
175 #endif // REMOTING_TEST_APP_REMOTING_TEST_DRIVER_ENVIRONMENT_H_ | 176 #endif // REMOTING_TEST_APP_REMOTING_TEST_DRIVER_ENVIRONMENT_H_ |
OLD | NEW |