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

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: Rebased. 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
« no previous file with comments | « chrome/common/chrome_paths_win.cc ('k') | chrome/common/pepper_flash.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension.cc
diff --git a/chrome/common/extensions/extension.cc b/chrome/common/extensions/extension.cc
index 7db7ca6aefc4ca0839a434beeac07cc7cd8badab..8668cfca987106e9e9995ce0efa5c445a369d87c 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::IsMetroProcess()) {
*error = l10n_util::GetStringUTF16(
IDS_EXTENSION_INSTALL_PLUGIN_NOT_SUPPORTED);
return false;
« no previous file with comments | « chrome/common/chrome_paths_win.cc ('k') | chrome/common/pepper_flash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698