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

Unified Diff: chrome/common/extensions/extension.cc

Issue 10560015: Implement base::win::IsMetroProcess. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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/common/extensions/extension.cc
diff --git a/chrome/common/extensions/extension.cc b/chrome/common/extensions/extension.cc
index 7db7ca6aefc4ca0839a434beeac07cc7cd8badab..70fbd3b78025488422a1343eea6f5085e60a1c83 100644
--- a/chrome/common/extensions/extension.cc
+++ b/chrome/common/extensions/extension.cc
@@ -1524,7 +1524,7 @@ bool Extension::LoadPlugins(string16* error) {
#if defined(OS_WIN)
// Like Chrome OS, we don't support NPAPI plugins in Windows 8 metro mode
// but in this case we want to fail with an error.
- if (base::win::GetMetroModule()) {
+ if (base::win::InMetroMode()) {
*error = l10n_util::GetStringUTF16(
IDS_EXTENSION_INSTALL_PLUGIN_NOT_SUPPORTED);
return false;

Powered by Google App Engine
This is Rietveld 408576698