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 |
14 namespace content { | 20 namespace content { |
15 | 21 |
16 class ShellPluginServiceFilter; | 22 class ShellPluginServiceFilter; |
17 | 23 |
18 class LayoutTestBrowserMainParts : public ShellBrowserMainParts { | 24 class LayoutTestBrowserMainParts : public ShellBrowserMainParts { |
19 public: | 25 public: |
20 explicit LayoutTestBrowserMainParts(const MainFunctionParams& parameters); | 26 explicit LayoutTestBrowserMainParts(const MainFunctionParams& parameters); |
21 ~LayoutTestBrowserMainParts() override; | 27 ~LayoutTestBrowserMainParts() override; |
22 | 28 |
23 private: | 29 private: |
24 void InitializeBrowserContexts() override; | 30 void InitializeBrowserContexts() override; |
25 void InitializeMessageLoopContext() override; | 31 void InitializeMessageLoopContext() override; |
26 | 32 |
27 #if defined(ENABLE_PLUGINS) | 33 #if defined(ENABLE_PLUGINS) |
28 std::unique_ptr<ShellPluginServiceFilter> plugin_service_filter_; | 34 std::unique_ptr<ShellPluginServiceFilter> plugin_service_filter_; |
29 #endif | 35 #endif |
30 | 36 |
31 DISALLOW_COPY_AND_ASSIGN(LayoutTestBrowserMainParts); | 37 DISALLOW_COPY_AND_ASSIGN(LayoutTestBrowserMainParts); |
32 }; | 38 }; |
33 | 39 |
34 } // namespace content | 40 } // namespace content |
35 | 41 |
36 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BROWSER_MAIN_PARTS_H_ | 42 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BROWSER_MAIN_PARTS_H_ |
OLD | NEW |