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

Unified Diff: content/common/site_isolation_policy.cc

Issue 2165523004: Force MimeHandlerView to always use BrowserPlugin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added the missing files Created 4 years, 3 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: content/common/site_isolation_policy.cc
diff --git a/content/common/site_isolation_policy.cc b/content/common/site_isolation_policy.cc
index 789bde7fddd287e6732704c1f838d8047a8f8d2a..4ab845d60b23daaf0c442a96127e2e060ad46ff6 100644
--- a/content/common/site_isolation_policy.cc
+++ b/content/common/site_isolation_policy.cc
@@ -6,7 +6,6 @@
#include "base/command_line.h"
#include "base/lazy_instance.h"
-#include "content/public/common/browser_plugin_guest_mode.h"
#include "content/public/common/browser_side_navigation_policy.h"
#include "content/public/common/content_client.h"
#include "content/public/common/content_switches.h"
@@ -18,7 +17,8 @@ bool SiteIsolationPolicy::AreCrossProcessFramesPossible() {
return UseDedicatedProcessesForAllSites() ||
IsTopDocumentIsolationEnabled() ||
GetContentClient()->IsSupplementarySiteIsolationModeEnabled() ||
- BrowserPluginGuestMode::UseCrossProcessFramesForGuests();
+ base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kUseCrossProcessFramesForGuests);
}
// static

Powered by Google App Engine
This is Rietveld 408576698