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

Unified Diff: chrome/common/extensions/extension.h

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
« no previous file with comments | « chrome/common/extensions/docs/static/manifest.html ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension.h
diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h
index 9f2dc9ba2c6f0594bd5c9449b5a66da5dedc5a31..f46c0ca6afafec80b22998c7f72d5bfb4e9237ee 100644
--- a/chrome/common/extensions/extension.h
+++ b/chrome/common/extensions/extension.h
@@ -364,6 +364,7 @@ class Extension {
LaunchContainer launch_container() const { return launch_container_; }
int launch_width() const { return launch_width_; }
int launch_height() const { return launch_height_; }
+ bool incognito_split_mode() const { return incognito_split_mode_; }
// Gets the fully resolved absolute launch URL.
GURL GetFullLaunchURL() const;
@@ -580,6 +581,10 @@ class Extension {
// The omnibox keyword for this extension, or empty if there is none.
std::string omnibox_keyword_;
+ // If true, a separate process will be used for the extension in incognito
+ // mode.
+ bool incognito_split_mode_;
+
// Runtime data:
// True if the background page is ready.
« no previous file with comments | « chrome/common/extensions/docs/static/manifest.html ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698