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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 236073004: Remove kEnableBrowserPluginForAllViewTypes flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index c59cbee497e2dd896f3c0897303c431cbd1347bb..b58344ad342c2ebdfbb8634e30497560a509eab8 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -838,9 +838,7 @@ void ChromeContentBrowserClient::GuestWebContentsCreated(
/// TODO(fsamuel): In the future, certain types of GuestViews won't require
// extension bindings. At that point, we should clear |extension_id| instead
// of exiting early.
- if (!service->GetExtensionById(extension_id, false) &&
- !CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableBrowserPluginForAllViewTypes)) {
+ if (!service->GetExtensionById(extension_id, false)) {
NOTREACHED();
return;
}
« no previous file with comments | « no previous file | chrome/browser/ui/startup/bad_flags_prompt.cc » ('j') | content/shell/renderer/shell_content_renderer_client.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698