Roll src/third_party/skia 2440fcd:4de8c3a
[chromium-blink-merge.git] / content / shell / browser / layout_test / layout_test_browser_main_parts.h
blobfc8153883e8fbabefabd250e8d173f26e02c4ed6
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)
13 namespace breakpad {
14 class CrashDumpManager;
16 #endif
18 namespace base {
19 class Thread;
22 namespace net {
23 class NetLog;
26 namespace content {
28 class ShellPluginServiceFilter;
30 class LayoutTestBrowserMainParts : public ShellBrowserMainParts {
31 public:
32 explicit LayoutTestBrowserMainParts(const MainFunctionParams& parameters);
33 ~LayoutTestBrowserMainParts() override;
35 private:
36 void InitializeBrowserContexts() override;
37 void InitializeMessageLoopContext() override;
39 #if defined(ENABLE_PLUGINS)
40 scoped_ptr<ShellPluginServiceFilter> plugin_service_filter_;
41 #endif
43 DISALLOW_COPY_AND_ASSIGN(LayoutTestBrowserMainParts);
46 } // namespace content
48 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BROWSER_MAIN_PARTS_H_