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 CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BROWSER_MAIN_PARTS_H_ | 5 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BROWSER_MAIN_PARTS_H_ |
6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BROWSER_MAIN_PARTS_H_ | 6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BROWSER_MAIN_PARTS_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
12 #include "content/shell/browser/shell_browser_main_parts.h" | 12 #include "content/shell/browser/shell_browser_main_parts.h" |
13 | 13 |
14 #if defined(OS_ANDROID) | |
15 namespace breakpad { | |
16 class CrashDumpManager; | |
17 } | |
18 #endif | |
19 | |
20 namespace base { | |
21 class Thread; | |
22 } | |
23 | |
24 namespace net { | |
25 class NetLog; | |
26 } | |
27 | |
28 namespace content { | 14 namespace content { |
29 | 15 |
30 class ShellPluginServiceFilter; | 16 class ShellPluginServiceFilter; |
31 | 17 |
32 class LayoutTestBrowserMainParts : public ShellBrowserMainParts { | 18 class LayoutTestBrowserMainParts : public ShellBrowserMainParts { |
33 public: | 19 public: |
34 explicit LayoutTestBrowserMainParts(const MainFunctionParams& parameters); | 20 explicit LayoutTestBrowserMainParts(const MainFunctionParams& parameters); |
35 ~LayoutTestBrowserMainParts() override; | 21 ~LayoutTestBrowserMainParts() override; |
36 | 22 |
37 private: | 23 private: |
38 void InitializeBrowserContexts() override; | 24 void InitializeBrowserContexts() override; |
39 void InitializeMessageLoopContext() override; | 25 void InitializeMessageLoopContext() override; |
40 | 26 |
41 #if defined(ENABLE_PLUGINS) | 27 #if defined(ENABLE_PLUGINS) |
42 std::unique_ptr<ShellPluginServiceFilter> plugin_service_filter_; | 28 std::unique_ptr<ShellPluginServiceFilter> plugin_service_filter_; |
43 #endif | 29 #endif |
44 | 30 |
45 DISALLOW_COPY_AND_ASSIGN(LayoutTestBrowserMainParts); | 31 DISALLOW_COPY_AND_ASSIGN(LayoutTestBrowserMainParts); |
46 }; | 32 }; |
47 | 33 |
48 } // namespace content | 34 } // namespace content |
49 | 35 |
50 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BROWSER_MAIN_PARTS_H_ | 36 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BROWSER_MAIN_PARTS_H_ |
OLD | NEW |