| Index: chrome/renderer/chrome_content_renderer_client.cc
|
| diff --git a/chrome/renderer/chrome_content_renderer_client.cc b/chrome/renderer/chrome_content_renderer_client.cc
|
| index e697090a73f8365f19011e067d2accc10792fcad..e975c66015d3f29f60426ac1e75e36a86c99d63d 100644
|
| --- a/chrome/renderer/chrome_content_renderer_client.cc
|
| +++ b/chrome/renderer/chrome_content_renderer_client.cc
|
| @@ -115,7 +115,6 @@
|
| #include "ui/base/layout.h"
|
| #include "ui/base/resource/resource_bundle.h"
|
| #include "ui/base/webui/jstemplate_builder.h"
|
| -#include "widevine_cdm_version.h" // In SHARED_INTERMEDIATE_DIR.
|
|
|
| #if !defined(DISABLE_NACL)
|
| #include "components/nacl/common/nacl_constants.h"
|
| @@ -132,6 +131,7 @@
|
| #endif
|
|
|
| #if defined(ENABLE_PLUGINS)
|
| +#include "chrome/common/plugin_utils.h"
|
| #include "chrome/renderer/plugins/chrome_plugin_placeholder.h"
|
| #include "chrome/renderer/plugins/power_saver_info.h"
|
| #endif
|
| @@ -235,30 +235,6 @@ void AppendParams(const std::vector<base::string16>& additional_names,
|
| existing_names->swap(names);
|
| existing_values->swap(values);
|
| }
|
| -
|
| -// For certain sandboxed Pepper plugins, use the JavaScript Content Settings.
|
| -bool ShouldUseJavaScriptSettingForPlugin(const WebPluginInfo& plugin) {
|
| - if (plugin.type != WebPluginInfo::PLUGIN_TYPE_PEPPER_IN_PROCESS &&
|
| - plugin.type != WebPluginInfo::PLUGIN_TYPE_PEPPER_OUT_OF_PROCESS) {
|
| - return false;
|
| - }
|
| -
|
| -#if !defined(DISABLE_NACL)
|
| - // Treat Native Client invocations like JavaScript.
|
| - if (plugin.name == ASCIIToUTF16(nacl::kNaClPluginName))
|
| - return true;
|
| -#endif
|
| -
|
| -#if defined(WIDEVINE_CDM_AVAILABLE) && defined(ENABLE_PEPPER_CDMS)
|
| - // Treat CDM invocations like JavaScript.
|
| - if (plugin.name == ASCIIToUTF16(kWidevineCdmDisplayName)) {
|
| - DCHECK(plugin.type == WebPluginInfo::PLUGIN_TYPE_PEPPER_OUT_OF_PROCESS);
|
| - return true;
|
| - }
|
| -#endif // defined(WIDEVINE_CDM_AVAILABLE) && defined(ENABLE_PEPPER_CDMS)
|
| -
|
| - return false;
|
| -}
|
| #endif // defined(ENABLE_PLUGINS)
|
|
|
| #if defined(ENABLE_SPELLCHECK)
|
|
|