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

Unified Diff: chrome/browser/ui/views/extensions/extension_install_dialog_view.h

Issue 660643002: [Refactor] Move creating a browser if necessary to ExtensionInstallDialogView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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/ui/views/extensions/extension_install_dialog_view.h
diff --git a/chrome/browser/ui/views/extensions/extension_install_dialog_view.h b/chrome/browser/ui/views/extensions/extension_install_dialog_view.h
index 382634826ac6a22078206230a63557d1e89fe152..ee88a13d1804cc0631198c2e14527be64d18dfdb 100644
--- a/chrome/browser/ui/views/extensions/extension_install_dialog_view.h
+++ b/chrome/browser/ui/views/extensions/extension_install_dialog_view.h
@@ -15,6 +15,7 @@
typedef std::vector<base::string16> PermissionDetails;
class ExpandableContainerView;
+class Profile;
namespace content {
class PageNavigator;
@@ -53,6 +54,7 @@ class ExtensionInstallDialogView : public views::DialogDelegateView,
public views::ButtonListener {
public:
ExtensionInstallDialogView(
+ Profile* profile,
content::PageNavigator* navigator,
ExtensionInstallPrompt::Delegate* delegate,
scoped_refptr<ExtensionInstallPrompt::Prompt> prompt);
@@ -126,6 +128,7 @@ class ExtensionInstallDialogView : public views::DialogDelegateView,
// "Show permissions" links were shown and/or clicked.
void UpdateLinkActionHistogram(int action_type) const;
+ Profile* profile_;
content::PageNavigator* navigator_;
ExtensionInstallPrompt::Delegate* delegate_;
scoped_refptr<ExtensionInstallPrompt::Prompt> prompt_;

Powered by Google App Engine
This is Rietveld 408576698