diff options
Diffstat (limited to 'content/shell')
4 files changed, 13 insertions, 0 deletions
diff --git a/content/shell/browser/layout_test/layout_test_browser_context.cc b/content/shell/browser/layout_test/layout_test_browser_context.cc index be19bb2..e81439b 100644 --- a/content/shell/browser/layout_test/layout_test_browser_context.cc +++ b/content/shell/browser/layout_test/layout_test_browser_context.cc @@ -75,6 +75,11 @@ PermissionManager* LayoutTestBrowserContext::GetPermissionManager() { return permission_manager_.get(); } +BackgroundSyncController* +LayoutTestBrowserContext::GetBackgroundSyncController() { + return nullptr; +} + LayoutTestPermissionManager* LayoutTestBrowserContext::GetLayoutTestPermissionManager() { return static_cast<LayoutTestPermissionManager*>(GetPermissionManager()); diff --git a/content/shell/browser/layout_test/layout_test_browser_context.h b/content/shell/browser/layout_test/layout_test_browser_context.h index 93fd10e..43e2699 100644 --- a/content/shell/browser/layout_test/layout_test_browser_context.h +++ b/content/shell/browser/layout_test/layout_test_browser_context.h @@ -14,6 +14,7 @@ class NetLog; namespace content { +class BackgroundSyncController; class DownloadManagerDelegate; class LayoutTestPermissionManager; class LayoutTestPushMessagingService; @@ -29,6 +30,7 @@ class LayoutTestBrowserContext : public ShellBrowserContext { DownloadManagerDelegate* GetDownloadManagerDelegate() override; PushMessagingService* GetPushMessagingService() override; PermissionManager* GetPermissionManager() override; + BackgroundSyncController* GetBackgroundSyncController() override; LayoutTestPermissionManager* GetLayoutTestPermissionManager(); diff --git a/content/shell/browser/shell_browser_context.cc b/content/shell/browser/shell_browser_context.cc index b81ae1c..273c832 100644 --- a/content/shell/browser/shell_browser_context.cc +++ b/content/shell/browser/shell_browser_context.cc @@ -206,4 +206,8 @@ PermissionManager* ShellBrowserContext::GetPermissionManager() { return permission_manager_.get(); } +BackgroundSyncController* ShellBrowserContext::GetBackgroundSyncController() { + return nullptr; +} + } // namespace content diff --git a/content/shell/browser/shell_browser_context.h b/content/shell/browser/shell_browser_context.h index 07802ee..bf1be90 100644 --- a/content/shell/browser/shell_browser_context.h +++ b/content/shell/browser/shell_browser_context.h @@ -21,6 +21,7 @@ class NetLog; namespace content { +class BackgroundSyncController; class DownloadManagerDelegate; class PermissionManager; class ShellDownloadManagerDelegate; @@ -57,6 +58,7 @@ class ShellBrowserContext : public BrowserContext { PushMessagingService* GetPushMessagingService() override; SSLHostStateDelegate* GetSSLHostStateDelegate() override; PermissionManager* GetPermissionManager() override; + BackgroundSyncController* GetBackgroundSyncController() override; net::URLRequestContextGetter* CreateRequestContext( ProtocolHandlerMap* protocol_handlers, |
