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

Unified Diff: chrome/browser/extensions/extension_disabled_ui.cc

Issue 10031002: Allow extension APIs to be compiled out. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed unneeded resources Created 8 years, 8 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/extensions/extension_disabled_ui.cc
diff --git a/chrome/browser/extensions/extension_disabled_ui.cc b/chrome/browser/extensions/extension_disabled_ui.cc
index ed8c203dd11c8883f5bdef9c5edd082c580be2d7..0abe21a4567779b3ab40e4d84cbd83f32bdb261f 100644
--- a/chrome/browser/extensions/extension_disabled_ui.cc
+++ b/chrome/browser/extensions/extension_disabled_ui.cc
@@ -248,6 +248,7 @@ void ExtensionDisabledGlobalError::BubbleViewAcceptButtonPressed(
void ExtensionDisabledGlobalError::BubbleViewCancelButtonPressed(
Browser* browser) {
+#if !defined(OS_ANDROID)
uninstall_dialog_.reset(
ExtensionUninstallDialog::Create(service_->profile(), this));
// Delay showing the uninstall dialog, so that this function returns
@@ -255,6 +256,7 @@ void ExtensionDisabledGlobalError::BubbleViewCancelButtonPressed(
MessageLoop::current()->PostTask(FROM_HERE,
base::Bind(&ExtensionUninstallDialog::ConfirmUninstall,
uninstall_dialog_->AsWeakPtr(), extension_));
+#endif // !defined(OS_ANDROID)
}
void ExtensionDisabledGlobalError::ExtensionUninstallAccepted() {

Powered by Google App Engine
This is Rietveld 408576698