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

Unified Diff: content/public/common/content_client.h

Issue 1377933004: Modify --isolate-extensions to not isolate hosted apps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@no_isolate_apps3
Patch Set: Fixes from charlie Created 5 years, 2 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 | « content/public/browser/content_browser_client.cc ('k') | content/public/common/content_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/content_client.h
diff --git a/content/public/common/content_client.h b/content/public/common/content_client.h
index 2c016348dcc821da5e4bc9df6a56568022ae33b9..246f422129f7938ffebc5bd096e49fe4aaecd337 100644
--- a/content/public/common/content_client.h
+++ b/content/public/common/content_client.h
@@ -147,9 +147,12 @@ class CONTENT_EXPORT ContentClient {
// trustworthy schemes should be added.
virtual void AddServiceWorkerSchemes(std::set<std::string>* schemes) {}
- // Gives the embedder a chance to register schemes for which site isolation
- // should be enabled.
- virtual void AddIsolatedSchemes(std::set<std::string>* schemes) {}
+ // Returns true if the embedder wishes to supplement the site isolation policy
+ // used by the content layer. Returning true enables the infrastructure for
+ // out-of-process iframes, and causes the content layer to consult
+ // ContentBrowserClient::DoesSiteRequireDedicatedProcess() when making process
+ // model decisions.
+ virtual bool IsSupplementarySiteIsolationModeEnabled();
private:
friend class ContentClientInitializer; // To set these pointers.
« no previous file with comments | « content/public/browser/content_browser_client.cc ('k') | content/public/common/content_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698