OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROME_BROWSER_CHROMEOS_LOGIN_TEST_APP_WINDOW_WAITER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_TEST_APP_WINDOW_WAITER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_TEST_APP_WINDOW_WAITER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_TEST_APP_WINDOW_WAITER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | |
11 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" |
12 #include "base/run_loop.h" | 12 #include "base/run_loop.h" |
13 #include "extensions/browser/app_window/app_window_registry.h" | 13 #include "extensions/browser/app_window/app_window_registry.h" |
14 | 14 |
15 namespace extensions { | 15 namespace extensions { |
16 class AppWindow; | 16 class AppWindow; |
17 } | 17 } |
18 | 18 |
19 namespace chromeos { | 19 namespace chromeos { |
20 | 20 |
21 // Helper class that monitors app windows to wait for a window to appear. | 21 // Helper class that monitors app windows to wait for a window to appear. |
(...skipping 14 matching lines...) Expand all Loading... |
36 std::string app_id_; | 36 std::string app_id_; |
37 base::RunLoop run_loop_; | 37 base::RunLoop run_loop_; |
38 extensions::AppWindow* window_; | 38 extensions::AppWindow* window_; |
39 | 39 |
40 DISALLOW_COPY_AND_ASSIGN(AppWindowWaiter); | 40 DISALLOW_COPY_AND_ASSIGN(AppWindowWaiter); |
41 }; | 41 }; |
42 | 42 |
43 } // namespace chromeos | 43 } // namespace chromeos |
44 | 44 |
45 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_TEST_APP_WINDOW_WAITER_H_ | 45 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_TEST_APP_WINDOW_WAITER_H_ |
OLD | NEW |