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

Unified Diff: chrome/common/extensions/api/extension_api.json

Issue 3210007: Add support for a "split" incognito behavior for extensions. (Closed)
Patch Set: latest Created 10 years, 4 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/common/extensions/api/extension_api.json
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json
index 101471495339c398696c5770acb07e53184af426..4699d3a7acf6335061cd74e96fe11d78a086ed92 100644
--- a/chrome/common/extensions/api/extension_api.json
+++ b/chrome/common/extensions/api/extension_api.json
@@ -51,13 +51,13 @@
"message": { "type": "string", "description": "Description of the error that has taken place." }
}
},
- "inIncognitoTab": {
+ "inIncognitoContext": {
"type": "object",
"optional": true,
"unprivileged": true,
- "description": "True for content scripts running inside incognito tabs. Will be undefined for non-content scripts.",
+ "description": "True for content scripts running inside incognito tabs, and for extension pages running inside an incognito process. The latter only applies to extensions with 'split' incognito_behavior.",
"properties": {
- "message": { "type": "boolean", "description": "True if the script is in an incongito tab." }
+ "message": { "type": "boolean", "description": "True if the page or script is in an incongito process." }
}
}
},
« no previous file with comments | « chrome/browser/views/location_bar/location_bar_view.cc ('k') | chrome/common/extensions/docs/experimental.sidebar.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698