| 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_LAYOUT_TEST_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_CONTENT_BROWSER_CLIENT_H_ |
| 6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_CONTENT_BROWSER_CLIENT_H_ | 6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_CONTENT_BROWSER_CLIENT_H_ |
| 7 | 7 |
| 8 #include "content/shell/browser/shell_content_browser_client.h" | 8 #include "content/shell/browser/shell_content_browser_client.h" |
| 9 | 9 |
| 10 namespace content { | 10 namespace content { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 | 22 |
| 23 LayoutTestBrowserContext* GetLayoutTestBrowserContext(); | 23 LayoutTestBrowserContext* GetLayoutTestBrowserContext(); |
| 24 | 24 |
| 25 // Implements the PlatformNotificationService interface. | 25 // Implements the PlatformNotificationService interface. |
| 26 LayoutTestNotificationManager* GetLayoutTestNotificationManager(); | 26 LayoutTestNotificationManager* GetLayoutTestNotificationManager(); |
| 27 | 27 |
| 28 // ContentBrowserClient overrides. | 28 // ContentBrowserClient overrides. |
| 29 void RenderProcessWillLaunch(RenderProcessHost* host) override; | 29 void RenderProcessWillLaunch(RenderProcessHost* host) override; |
| 30 void ExposeInterfacesToRenderer( | 30 void ExposeInterfacesToRenderer( |
| 31 service_manager::BinderRegistry* registry, | 31 service_manager::BinderRegistry* registry, |
| 32 AssociatedInterfaceRegistry* associated_registry, |
| 32 RenderProcessHost* render_process_host) override; | 33 RenderProcessHost* render_process_host) override; |
| 33 void OverrideWebkitPrefs(RenderViewHost* render_view_host, | 34 void OverrideWebkitPrefs(RenderViewHost* render_view_host, |
| 34 WebPreferences* prefs) override; | 35 WebPreferences* prefs) override; |
| 35 void ResourceDispatcherHostCreated() override; | 36 void ResourceDispatcherHostCreated() override; |
| 36 void AppendExtraCommandLineSwitches(base::CommandLine* command_line, | 37 void AppendExtraCommandLineSwitches(base::CommandLine* command_line, |
| 37 int child_process_id) override; | 38 int child_process_id) override; |
| 38 BrowserMainParts* CreateBrowserMainParts( | 39 BrowserMainParts* CreateBrowserMainParts( |
| 39 const MainFunctionParams& parameters) override; | 40 const MainFunctionParams& parameters) override; |
| 40 void GetQuotaSettings( | 41 void GetQuotaSettings( |
| 41 content::BrowserContext* context, | 42 content::BrowserContext* context, |
| 42 content::StoragePartition* partition, | 43 content::StoragePartition* partition, |
| 43 const storage::OptionalQuotaSettingsCallback& callback) override; | 44 const storage::OptionalQuotaSettingsCallback& callback) override; |
| 44 | 45 |
| 45 PlatformNotificationService* GetPlatformNotificationService() override; | 46 PlatformNotificationService* GetPlatformNotificationService() override; |
| 46 | 47 |
| 47 private: | 48 private: |
| 48 std::unique_ptr<LayoutTestNotificationManager> | 49 std::unique_ptr<LayoutTestNotificationManager> |
| 49 layout_test_notification_manager_; | 50 layout_test_notification_manager_; |
| 50 }; | 51 }; |
| 51 | 52 |
| 52 } // content | 53 } // content |
| 53 | 54 |
| 54 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_CONTENT_BROWSER_CLIENT_
H_ | 55 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_CONTENT_BROWSER_CLIENT_
H_ |
| OLD | NEW |