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

Unified Diff: chrome/browser/extensions/extension_service.h

Issue 7016005: Don't show suggestions in the Omnibox from the Extension App provider unless the app has Incognit... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 months 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: chrome/browser/extensions/extension_service.h
===================================================================
--- chrome/browser/extensions/extension_service.h (revision 84698)
+++ chrome/browser/extensions/extension_service.h (working copy)
@@ -211,6 +211,9 @@
// sub-profile (incognito to original profile, or vice versa).
bool CanCrossIncognito(const Extension* extension);
+ // Returns true if the given extension can be loaded in incognito.
+ bool CanLoadInIncognito(const Extension* extension) const;
+
// Whether this extension can inject scripts into pages with file URLs.
bool AllowFileAccess(const Extension* extension);
// Will reload the extension since this permission is applied at loading time
« no previous file with comments | « chrome/browser/autocomplete/extension_app_provider.cc ('k') | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698