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

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

Issue 10386014: Implement WebContentsView::GetDropData for Mac; disable on Aura (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Revert more aura changes. Created 8 years, 7 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_switch_utils.cc
diff --git a/chrome/common/extensions/extension_switch_utils.cc b/chrome/common/extensions/extension_switch_utils.cc
index 77bac1c074fd7e48d23406d0a6bbe5d9c656e572..7f4dcf6964e787935f0a62a5f19c6bb9e5768c5b 100644
--- a/chrome/common/extensions/extension_switch_utils.cc
+++ b/chrome/common/extensions/extension_switch_utils.cc
@@ -12,8 +12,14 @@ namespace extensions {
namespace switch_utils {
bool IsOffStoreInstallEnabled() {
+ // Disabling off-store installation is not yet implemented for Aura. Not sure
+ // what the Aura equivalent for this UI is.
+#if defined(USE_AURA)
+ return true;
+#else
return !CommandLine::ForCurrentProcess()->HasSwitch(
switches::kDisableOffStoreExtensionInstall);
+#endif
}
} // switch_utils
« no previous file with comments | « chrome/browser/resources/extensions/extensions.js ('k') | content/browser/web_contents/web_contents_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698