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

Unified Diff: chrome/common/chrome_content_client.cc

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 | « chrome/common/chrome_content_client.h ('k') | content/browser/frame_host/render_frame_host_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_content_client.cc
diff --git a/chrome/common/chrome_content_client.cc b/chrome/common/chrome_content_client.cc
index e5ebb2e09318b232d7ce52fda12b5880ab7bb21a..03c0217475e9027c24590e55301422c3ac6de373 100644
--- a/chrome/common/chrome_content_client.cc
+++ b/chrome/common/chrome_content_client.cc
@@ -617,9 +617,7 @@ void ChromeContentClient::AddServiceWorkerSchemes(
schemes->insert(extensions::kExtensionScheme);
}
-void ChromeContentClient::AddIsolatedSchemes(std::set<std::string>* schemes) {
- if (base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kIsolateExtensions)) {
- schemes->insert(extensions::kExtensionScheme);
- }
+bool ChromeContentClient::IsSupplementarySiteIsolationModeEnabled() {
+ return base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kIsolateExtensions);
}
« no previous file with comments | « chrome/common/chrome_content_client.h ('k') | content/browser/frame_host/render_frame_host_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698