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

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

Issue 10388252: Refactoring ExtenionInstallUI to abstract the Browser references. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Synced + mac fix 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/bundle_installer.h
diff --git a/chrome/browser/extensions/bundle_installer.h b/chrome/browser/extensions/bundle_installer.h
index 4732042385730bae443850b77f38ebc9adb70393..168581e4c795fa98f76fe63fe5e23629ffc39ed3 100644
--- a/chrome/browser/extensions/bundle_installer.h
+++ b/chrome/browser/extensions/bundle_installer.h
@@ -12,7 +12,7 @@
#include "base/memory/linked_ptr.h"
#include "base/memory/scoped_ptr.h"
#include "base/string16.h"
-#include "chrome/browser/extensions/extension_install_ui.h"
+#include "chrome/browser/extensions/extension_install_prompt.h"
#include "chrome/browser/extensions/webstore_installer.h"
#include "chrome/browser/extensions/webstore_install_helper.h"
#include "chrome/browser/ui/browser_list.h"
@@ -38,7 +38,7 @@ namespace extensions {
// 2) CompleteInstall: install the CRXs and show confirmation bubble
//
class BundleInstaller : public WebstoreInstallHelper::Delegate,
- public ExtensionInstallUI::Delegate,
+ public ExtensionInstallPrompt::Delegate,
public WebstoreInstaller::Delegate,
public BrowserList::Observer,
public base::RefCountedThreadSafe<BundleInstaller> {
@@ -154,7 +154,7 @@ class BundleInstaller : public WebstoreInstallHelper::Delegate,
InstallHelperResultCode result_code,
const std::string& error_message) OVERRIDE;
- // ExtensionInstallUI::Delegate implementation:
+ // ExtensionInstallPrompt::Delegate implementation:
virtual void InstallUIProceed() OVERRIDE;
virtual void InstallUIAbort(bool user_initiated) OVERRIDE;
@@ -187,7 +187,7 @@ class BundleInstaller : public WebstoreInstallHelper::Delegate,
Profile* profile_;
// The UI that shows the confirmation prompt.
- scoped_ptr<ExtensionInstallUI> install_ui_;
+ scoped_ptr<ExtensionInstallPrompt> install_ui_;
Delegate* delegate_;

Powered by Google App Engine
This is Rietveld 408576698