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

Unified Diff: apps/shell/shell_extensions_browser_client.h

Issue 101413011: Prevent creating background pages for non-incognito profile in Guest mode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years 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
Index: apps/shell/shell_extensions_browser_client.h
diff --git a/apps/shell/shell_extensions_browser_client.h b/apps/shell/shell_extensions_browser_client.h
index d3d5ddf105229dd18cafcd5da4f81f470c7f0a29..13998a1cad04ac9666c26bbe85ba7672af9de280 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;
« no previous file with comments | « no previous file | apps/shell/shell_extensions_browser_client.cc » ('j') | chrome/browser/profiles/profile_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698