Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(194)

Unified Diff: content/shell/browser/layout_test/layout_test_browser_main_parts.h

Issue 645713003: Content Shell: Introduce LayoutTestBrowserMainParts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@LayoutTestDownloadManagerDelegate
Patch Set: nullptr Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/shell/BUILD.gn ('k') | content/shell/browser/layout_test/layout_test_browser_main_parts.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « content/shell/BUILD.gn ('k') | content/shell/browser/layout_test/layout_test_browser_main_parts.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698