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 // This file declares the C++ side of PyAuto, the python interface to | 5 // This file declares the C++ side of PyAuto, the python interface to |
6 // Chromium automation. It access Chromium's internals using Automation Proxy. | 6 // Chromium automation. It access Chromium's internals using Automation Proxy. |
7 | 7 |
8 #ifndef CHROME_TEST_PYAUTOLIB_PYAUTOLIB_H_ | 8 #ifndef CHROME_TEST_PYAUTOLIB_PYAUTOLIB_H_ |
9 #define CHROME_TEST_PYAUTOLIB_PYAUTOLIB_H_ | 9 #define CHROME_TEST_PYAUTOLIB_PYAUTOLIB_H_ |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/message_loop.h" | 12 #include "base/message_loop/message_loop.h" |
13 #include "base/test/test_timeouts.h" | 13 #include "base/test/test_timeouts.h" |
14 #include "base/time/time.h" | 14 #include "base/time/time.h" |
15 #include "chrome/test/ui/ui_test.h" | 15 #include "chrome/test/ui/ui_test.h" |
16 #include "chrome/test/ui/ui_test_suite.h" | 16 #include "chrome/test/ui/ui_test_suite.h" |
17 | 17 |
18 #if defined(OS_MACOSX) | 18 #if defined(OS_MACOSX) |
19 #include "base/mac/scoped_nsautorelease_pool.h" | 19 #include "base/mac/scoped_nsautorelease_pool.h" |
20 #endif | 20 #endif |
21 | 21 |
22 class AutomationProxy; | 22 class AutomationProxy; |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 // TestCase at load time itself. | 112 // TestCase at load time itself. |
113 static base::MessageLoop* GetSharedMessageLoop( | 113 static base::MessageLoop* GetSharedMessageLoop( |
114 base::MessageLoop::Type msg_loop_type); | 114 base::MessageLoop::Type msg_loop_type); |
115 static base::MessageLoop* message_loop_; | 115 static base::MessageLoop* message_loop_; |
116 | 116 |
117 // Path to named channel id. | 117 // Path to named channel id. |
118 std::string named_channel_id_; | 118 std::string named_channel_id_; |
119 }; | 119 }; |
120 | 120 |
121 #endif // CHROME_TEST_PYAUTOLIB_PYAUTOLIB_H_ | 121 #endif // CHROME_TEST_PYAUTOLIB_PYAUTOLIB_H_ |
OLD | NEW |