summaryrefslogtreecommitdiffstats
path: root/apps/shell
diff options
context:
space:
mode:
Diffstat (limited to 'apps/shell')
-rw-r--r--apps/shell/shell_extensions_browser_client.cc5
-rw-r--r--apps/shell/shell_extensions_browser_client.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/apps/shell/shell_extensions_browser_client.cc b/apps/shell/shell_extensions_browser_client.cc
index 1e86921..cc59069 100644
--- a/apps/shell/shell_extensions_browser_client.cc
+++ b/apps/shell/shell_extensions_browser_client.cc
@@ -91,6 +91,11 @@ bool ShellExtensionsBrowserClient::DeferLoadingBackgroundHosts(
return false;
}
+bool ShellExtensionsBrowserClient::IsBackgroundPageAllowed(
+ BrowserContext* context) const {
+ return true;
+}
+
bool ShellExtensionsBrowserClient::DidVersionUpdate(BrowserContext* context) {
// TODO(jamescook): We might want to tell extensions when app_shell updates.
return false;
diff --git a/apps/shell/shell_extensions_browser_client.h b/apps/shell/shell_extensions_browser_client.h
index d3d5ddf..13998a1c 100644
--- a/apps/shell/shell_extensions_browser_client.h
+++ b/apps/shell/shell_extensions_browser_client.h
@@ -38,6 +38,8 @@ class ShellExtensionsBrowserClient
content::BrowserContext* context) OVERRIDE;
virtual bool DeferLoadingBackgroundHosts(content::BrowserContext* context)
const OVERRIDE;
+ virtual bool IsBackgroundPageAllowed(content::BrowserContext* context)
+ const OVERRIDE;
virtual bool DidVersionUpdate(content::BrowserContext* context) OVERRIDE;
virtual scoped_ptr<extensions::AppSorting> CreateAppSorting() OVERRIDE;
virtual bool IsRunningInForcedAppMode() OVERRIDE;