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