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

Unified Diff: chrome/browser/extensions/api/messaging/incognito_connectability.h

Issue 2766263003: Extensions: Only load incognito-enabled extensions in an incognito renderer. (Closed)
Patch Set: Address review Created 3 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/extensions/api/messaging/message_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/messaging/incognito_connectability.h
diff --git a/chrome/browser/extensions/api/messaging/incognito_connectability.h b/chrome/browser/extensions/api/messaging/incognito_connectability.h
index 026ade958ec2f2306ace5d55ba34f34eaf0d3681..9686db2b4f2d723d529323e886149ad1aac23364 100644
--- a/chrome/browser/extensions/api/messaging/incognito_connectability.h
+++ b/chrome/browser/extensions/api/messaging/incognito_connectability.h
@@ -27,11 +27,10 @@ class Extension;
// Tracks the web connectability of domains to extensions in incognito mode.
//
// The most important functionality is prompting the user to allow or disallow
-// connections from incognito tabs to extensions or apps. Even if an extension
-// hasn't been enabled in incognito mode, it's still useful for web sites to be
-// able to send messages to them, with user constent. For apps, it's essential
-// we have this functionality because there is no way for them to be enabled in
-// incognito.
+// connections from incognito tabs to extensions or apps. Users are not prompted
+// for extensions which can be enabled in incognito mode. However for apps, it's
+// essential we have this functionality because there is no way for them to be
+// enabled in incognito.
class IncognitoConnectability : public BrowserContextKeyedAPI {
public:
// While in scope, immediately either accepts or denies the alerts that show
« no previous file with comments | « no previous file | chrome/browser/extensions/api/messaging/message_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698