| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_BROWSER_MAIN_PARTS_H_ | 5 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_BROWSER_MAIN_PARTS_H_ |
| 6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_BROWSER_MAIN_PARTS_H_ | 6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_BROWSER_MAIN_PARTS_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "content/shell/browser/shell_browser_main_parts.h" | 10 #include "content/shell/browser/shell_browser_main_parts.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 class NetLog; | 23 class NetLog; |
| 24 } | 24 } |
| 25 | 25 |
| 26 namespace content { | 26 namespace content { |
| 27 | 27 |
| 28 class ShellPluginServiceFilter; | 28 class ShellPluginServiceFilter; |
| 29 | 29 |
| 30 class LayoutTestBrowserMainParts : public ShellBrowserMainParts { | 30 class LayoutTestBrowserMainParts : public ShellBrowserMainParts { |
| 31 public: | 31 public: |
| 32 explicit LayoutTestBrowserMainParts(const MainFunctionParams& parameters); | 32 explicit LayoutTestBrowserMainParts(const MainFunctionParams& parameters); |
| 33 virtual ~LayoutTestBrowserMainParts(); | 33 ~LayoutTestBrowserMainParts() override; |
| 34 | 34 |
| 35 private: | 35 private: |
| 36 virtual void InitializeBrowserContexts() override; | 36 void InitializeBrowserContexts() override; |
| 37 virtual void InitializeMessageLoopContext() override; | 37 void InitializeMessageLoopContext() override; |
| 38 | 38 |
| 39 #if defined(ENABLE_PLUGINS) | 39 #if defined(ENABLE_PLUGINS) |
| 40 scoped_ptr<ShellPluginServiceFilter> plugin_service_filter_; | 40 scoped_ptr<ShellPluginServiceFilter> plugin_service_filter_; |
| 41 #endif | 41 #endif |
| 42 | 42 |
| 43 DISALLOW_COPY_AND_ASSIGN(LayoutTestBrowserMainParts); | 43 DISALLOW_COPY_AND_ASSIGN(LayoutTestBrowserMainParts); |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 } // namespace content | 46 } // namespace content |
| 47 | 47 |
| 48 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_BROWSER_MAIN_PARTS_H_ | 48 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_BROWSER_MAIN_PARTS_H_ |
| OLD | NEW |