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

Unified Diff: chrome/browser/plugins/plugin_info_message_filter.cc

Issue 1581473002: Remove base/win/metro.{cc|h} and some associated code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 4 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
Index: chrome/browser/plugins/plugin_info_message_filter.cc
diff --git a/chrome/browser/plugins/plugin_info_message_filter.cc b/chrome/browser/plugins/plugin_info_message_filter.cc
index b34922a10a596b7c1de95545e7f3baf8ac114080..52dd221a248de5d04d87478046b45e18921ba38c 100644
--- a/chrome/browser/plugins/plugin_info_message_filter.cc
+++ b/chrome/browser/plugins/plugin_info_message_filter.cc
@@ -46,10 +46,6 @@
#include "extensions/common/manifest_handlers/webview_info.h"
#endif
-#if defined(OS_WIN)
-#include "base/win/metro.h"
-#endif
-
#if !defined(DISABLE_NACL)
#include "components/nacl/common/nacl_constants.h"
#endif
@@ -347,13 +343,6 @@ void PluginInfoMessageFilter::Context::DecidePluginStatus(
const WebPluginInfo& plugin,
const PluginMetadata* plugin_metadata,
ChromeViewHostMsg_GetPluginInfo_Status* status) const {
-#if defined(OS_WIN)
- if (plugin.type == WebPluginInfo::PLUGIN_TYPE_NPAPI &&
- base::win::IsMetroProcess()) {
- *status = ChromeViewHostMsg_GetPluginInfo_Status::kNPAPINotSupported;
- return;
- }
-#endif
if (plugin.type == WebPluginInfo::PLUGIN_TYPE_NPAPI) {
CHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::IO));
// NPAPI plugins are not supported inside <webview> guests.

Powered by Google App Engine
This is Rietveld 408576698