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

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

Issue 10699057: Move application creation and extension install prompt showing off Browser and onto ExtensionTabHel… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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_install_ui.h
===================================================================
--- chrome/browser/extensions/extension_install_ui.h (revision 145357)
+++ chrome/browser/extensions/extension_install_ui.h (working copy)
@@ -13,6 +13,7 @@
#include "chrome/browser/extensions/crx_installer_error.h"
class Browser;
+class Profile;
class SkBitmap;
namespace extensions {
@@ -24,7 +25,7 @@
// around extension installation.
class ExtensionInstallUI {
public:
- static ExtensionInstallUI* Create(Browser* browser);
+ static ExtensionInstallUI* Create(Profile* profile);
virtual ~ExtensionInstallUI();
@@ -50,12 +51,12 @@
// in tests.
static void DisableFailureUIForTests();
- Browser* browser() { return browser_; }
+ Profile* profile() { return profile_; }
protected:
ExtensionInstallUI();
- Browser* browser_;
+ Profile* profile_;
};
#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_H_
« no previous file with comments | « chrome/browser/extensions/extension_install_prompt.cc ('k') | chrome/browser/extensions/extension_install_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698