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

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: Add extensions_api_resources resources to windows targets 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 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() {
« no previous file with comments | « chrome/browser/extensions/app_notify_channel_ui.cc ('k') | chrome/browser/extensions/extension_function_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698