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

Unified Diff: chrome/browser/extensions/webstore_installer.h

Issue 11087071: Making ShowExtensionInstallDialog a callback (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address review comments Created 8 years, 2 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/webstore_installer.h
diff --git a/chrome/browser/extensions/webstore_installer.h b/chrome/browser/extensions/webstore_installer.h
index 12064068e3aca96053b0e48260bbc672acc71018..64cef21bf367a0e53518b8f7107f6e8a639c20c9 100644
--- a/chrome/browser/extensions/webstore_installer.h
+++ b/chrome/browser/extensions/webstore_installer.h
@@ -13,6 +13,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/supports_user_data.h"
#include "base/values.h"
+#include "chrome/browser/extensions/extension_install_prompt.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/download_item.h"
#include "content/public/browser/notification_observer.h"
@@ -101,6 +102,9 @@ class WebstoreInstaller :public content::NotificationObserver,
// Whether we should record an oauth2 grant for the extensions.
bool record_oauth2_grant;
+ // Used to show the install dialog.
+ ExtensionInstallPrompt::ShowDialogCallback show_dialog_callback;
+
private:
Approval();
};

Powered by Google App Engine
This is Rietveld 408576698