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 MOJO_SHELL_SHELL_TEST_HELPER_ | 5 #ifndef SHELL_SHELL_TEST_HELPER_H_ |
6 #define MOJO_SHELL_SHELL_TEST_HELPER_ | 6 #define SHELL_SHELL_TEST_HELPER_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/run_loop.h" | 10 #include "base/run_loop.h" |
11 #include "mojo/application_manager/application_loader.h" | 11 #include "mojo/application_manager/application_loader.h" |
12 #include "mojo/shell/context.h" | 12 #include "shell/context.h" |
13 | 13 |
14 class GURL; | 14 class GURL; |
15 | 15 |
16 namespace mojo { | 16 namespace mojo { |
17 | 17 |
18 class ApplicationLoader; | 18 class ApplicationLoader; |
19 | 19 |
20 namespace shell { | 20 namespace shell { |
21 | 21 |
22 // ShellTestHelper is useful for tests to establish a connection to the | 22 // ShellTestHelper is useful for tests to establish a connection to the |
(...skipping 22 matching lines...) Expand all Loading... |
45 private: | 45 private: |
46 Context context_; | 46 Context context_; |
47 base::MessageLoop shell_loop_; | 47 base::MessageLoop shell_loop_; |
48 scoped_ptr<ApplicationManager::TestAPI> test_api_; | 48 scoped_ptr<ApplicationManager::TestAPI> test_api_; |
49 DISALLOW_COPY_AND_ASSIGN(ShellTestHelper); | 49 DISALLOW_COPY_AND_ASSIGN(ShellTestHelper); |
50 }; | 50 }; |
51 | 51 |
52 } // namespace shell | 52 } // namespace shell |
53 } // namespace mojo | 53 } // namespace mojo |
54 | 54 |
55 #endif // MOJO_SHELL_SHELL_TEST_HELPER_ | 55 #endif // SHELL_SHELL_TEST_HELPER_H_ |
OLD | NEW |