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 EXTENSIONS_SHELL_TEST_SHELL_TEST_H_ | 5 #ifndef EXTENSIONS_SHELL_TEST_SHELL_TEST_H_ |
6 #define EXTENSIONS_SHELL_TEST_SHELL_TEST_H_ | 6 #define EXTENSIONS_SHELL_TEST_SHELL_TEST_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "content/public/test/browser_test.h" | 10 #include "content/public/test/browser_test.h" |
11 #include "content/public/test/browser_test_base.h" | 11 #include "content/public/test/browser_test_base.h" |
12 #include "extensions/common/features/feature_channel.h" | 12 #include "extensions/common/features/feature_channel.h" |
13 | 13 |
14 namespace base { | |
15 class FilePath; | |
16 } | |
17 | |
18 namespace content { | 14 namespace content { |
19 class BrowserContext; | 15 class BrowserContext; |
20 } | 16 } |
21 | 17 |
22 namespace extensions { | 18 namespace extensions { |
23 | 19 |
24 class ShellExtensionSystem; | 20 class ShellExtensionSystem; |
25 | 21 |
26 // Base class for app shell browser tests. | 22 // Base class for app shell browser tests. |
27 class AppShellTest : public content::BrowserTestBase { | 23 class AppShellTest : public content::BrowserTestBase { |
(...skipping 10 matching lines...) Expand all Loading... |
38 | 34 |
39 protected: | 35 protected: |
40 content::BrowserContext* browser_context_; | 36 content::BrowserContext* browser_context_; |
41 ShellExtensionSystem* extension_system_; | 37 ShellExtensionSystem* extension_system_; |
42 ScopedCurrentChannel current_channel_; | 38 ScopedCurrentChannel current_channel_; |
43 }; | 39 }; |
44 | 40 |
45 } // namespace extensions | 41 } // namespace extensions |
46 | 42 |
47 #endif // EXTENSIONS_SHELL_TEST_SHELL_TEST_H_ | 43 #endif // EXTENSIONS_SHELL_TEST_SHELL_TEST_H_ |
OLD | NEW |