Index: content/shell/browser/layout_test/layout_test_browser_main_parts.h |
diff --git a/content/shell/browser/layout_test/layout_test_browser_main_parts.h b/content/shell/browser/layout_test/layout_test_browser_main_parts.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c73f829eb97467e344989adc8345037c625de5a9 |
--- /dev/null |
+++ b/content/shell/browser/layout_test/layout_test_browser_main_parts.h |
@@ -0,0 +1,48 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_BROWSER_MAIN_PARTS_H_ |
+#define CONTENT_SHELL_BROWSER_LAYOUT_TEST_BROWSER_MAIN_PARTS_H_ |
+ |
+#include "base/basictypes.h" |
+#include "base/memory/scoped_ptr.h" |
+#include "content/shell/browser/shell_browser_main_parts.h" |
+ |
+#if defined(OS_ANDROID) |
+namespace breakpad { |
+class CrashDumpManager; |
+} |
+#endif |
+ |
+namespace base { |
+class Thread; |
+} |
+ |
+namespace net { |
+class NetLog; |
+} |
+ |
+namespace content { |
+ |
+class ShellPluginServiceFilter; |
+ |
+class LayoutTestBrowserMainParts : public ShellBrowserMainParts { |
+ public: |
+ explicit LayoutTestBrowserMainParts(const MainFunctionParams& parameters); |
+ virtual ~LayoutTestBrowserMainParts(); |
+ |
+ private: |
+ virtual void InitializeBrowserContexts() override; |
+ virtual void InitializeMessageLoopContext() override; |
+ |
+#if defined(ENABLE_PLUGINS) |
+ scoped_ptr<ShellPluginServiceFilter> plugin_service_filter_; |
+#endif |
+ |
+ DISALLOW_COPY_AND_ASSIGN(LayoutTestBrowserMainParts); |
+}; |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_BROWSER_MAIN_PARTS_H_ |