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

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

Issue 10907104: Support an --install-from-webstore command line switch (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: rebased Created 8 years, 3 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/browser/extensions/crx_installer.cc ('k') | chrome/browser/extensions/startup_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_install_dialog.cc
diff --git a/chrome/browser/extensions/extension_install_dialog.cc b/chrome/browser/extensions/extension_install_dialog.cc
index 71fa908bdc67ca3bc9c8b334e6d0a7fa0c54fcc2..a3cd87bf911ec99916e8988d0b5bd51e1665fcee 100644
--- a/chrome/browser/extensions/extension_install_dialog.cc
+++ b/chrome/browser/extensions/extension_install_dialog.cc
@@ -68,9 +68,5 @@ void ShowExtensionInstallDialog(gfx::NativeWindow parent,
DoAutoConfirm(auto_confirm, delegate);
return;
}
- if (!parent) {
- delegate->InstallUIAbort(false);
- return;
- }
ShowExtensionInstallDialogImpl(parent, navigator, delegate, prompt);
}
« no previous file with comments | « chrome/browser/extensions/crx_installer.cc ('k') | chrome/browser/extensions/startup_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698