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 1d7d59ffa0db8eb97fa991961fc3906ef6a7e9a9..8eb171a1d51095ded65bcdc94eca6234e1b45136 100644 |
--- a/chrome/browser/extensions/extension_disabled_ui.cc |
+++ b/chrome/browser/extensions/extension_disabled_ui.cc |
@@ -249,6 +249,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 |
@@ -256,6 +257,7 @@ void ExtensionDisabledGlobalError::BubbleViewCancelButtonPressed( |
MessageLoop::current()->PostTask(FROM_HERE, |
base::Bind(&ExtensionUninstallDialog::ConfirmUninstall, |
uninstall_dialog_->AsWeakPtr(), extension_)); |
+#endif // !defined(OS_ANDROID) |
} |
void ExtensionDisabledGlobalError::ExtensionUninstallAccepted() { |