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.
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_
8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "content/shell/browser/shell_browser_main_parts.h"
12 #if defined(OS_ANDROID)
14 class CrashDumpManager
;
28 class ShellPluginServiceFilter
;
30 class LayoutTestBrowserMainParts
: public ShellBrowserMainParts
{
32 explicit LayoutTestBrowserMainParts(const MainFunctionParams
& parameters
);
33 ~LayoutTestBrowserMainParts() override
;
36 void InitializeBrowserContexts() override
;
37 void InitializeMessageLoopContext() override
;
39 #if defined(ENABLE_PLUGINS)
40 scoped_ptr
<ShellPluginServiceFilter
> plugin_service_filter_
;
43 DISALLOW_COPY_AND_ASSIGN(LayoutTestBrowserMainParts
);
46 } // namespace content
48 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BROWSER_MAIN_PARTS_H_