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

Unified Diff: chrome/browser/pepper_broker_infobar_delegate.cc

Issue 132293004: Removed Netflix plugin from the broker whitelist. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/pepper_broker_infobar_delegate.cc
diff --git a/chrome/browser/pepper_broker_infobar_delegate.cc b/chrome/browser/pepper_broker_infobar_delegate.cc
index 68174e46d609330916ed19a6eb930616d88073a1..0b9552c7454c1b816fc67c162808563d84e7cae4 100644
--- a/chrome/browser/pepper_broker_infobar_delegate.cc
+++ b/chrome/browser/pepper_broker_infobar_delegate.cc
@@ -46,21 +46,6 @@ void PepperBrokerInfoBarDelegate::Create(
TabSpecificContentSettings* tab_content_settings =
TabSpecificContentSettings::FromWebContents(web_contents);
-#if defined(OS_CHROMEOS)
- // On ChromeOS, we're ok with granting broker access to the Netflix and
- // Widevine plugins, since they can only come installed with the OS.
- const char kWidevinePluginFileName[] = "libwidevinecdmadapter.so";
- const char kNetflixDomain[] = "netflix.com";
-
- base::FilePath plugin_file_name = plugin_path.BaseName();
- if (plugin_file_name.value() == FILE_PATH_LITERAL(kWidevinePluginFileName) &&
- url.DomainIs(kNetflixDomain)) {
- tab_content_settings->SetPepperBrokerAllowed(true);
- callback.Run(true);
- return;
- }
-#endif
-
#if defined(GOOGLE_TV)
// On GoogleTV, Netflix crypto/mdx plugin and DRM server adapter plugin can
// only come pre-installed with the OS, so we're willing to auto-grant access
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698