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

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: 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 222430517d89df447a1bf458003199ae17500298..7ea0334e6f6e96ad863b8a476919bf338813741c 100644
--- a/chrome/browser/extensions/webstore_installer.h
+++ b/chrome/browser/extensions/webstore_installer.h
@@ -21,6 +21,7 @@
#include "googleurl/src/gurl.h"
#include "net/base/net_errors.h"
+class ExtensionInstallDialog;
class FilePath;
class Profile;
@@ -102,6 +103,9 @@ class WebstoreInstaller :public content::NotificationObserver,
// Whether we should record an oauth2 grant for the extensions.
bool record_oauth2_grant;
+ // Used to show the confirm dialog.
+ scoped_refptr<ExtensionInstallDialog> dialog_;
+
private:
Approval();
};

Powered by Google App Engine
This is Rietveld 408576698