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

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

Issue 10388252: Refactoring ExtenionInstallUI to abstract the Browser references. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed Yoyo's comments. Created 8 years, 7 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_inline_installer.h
diff --git a/chrome/browser/extensions/webstore_inline_installer.h b/chrome/browser/extensions/webstore_inline_installer.h
index bd35456613a5855f0df8f4fa1ebf8b0442a1c3f5..73b024c730d153a3dd383b2cb003f308cae8a5ae 100644
--- a/chrome/browser/extensions/webstore_inline_installer.h
+++ b/chrome/browser/extensions/webstore_inline_installer.h
@@ -11,7 +11,7 @@
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/values.h"
-#include "chrome/browser/extensions/extension_install_ui.h"
+#include "chrome/browser/extensions/extension_install_prompt.h"
#include "chrome/browser/extensions/webstore_install_helper.h"
#include "chrome/browser/extensions/webstore_installer.h"
#include "content/public/browser/web_contents_observer.h"
@@ -33,7 +33,7 @@ class Extension;
// request is attached to goes away.
class WebstoreInlineInstaller
: public base::RefCountedThreadSafe<WebstoreInlineInstaller>,
- public ExtensionInstallUI::Delegate,
+ public ExtensionInstallPrompt::Delegate,
public content::WebContentsObserver,
public content::URLFetcherDelegate,
public WebstoreInstaller::Delegate,
@@ -93,7 +93,7 @@ class WebstoreInlineInstaller
InstallHelperResultCode result_code,
const std::string& error_message) OVERRIDE;
- // ExtensionInstallUI::Delegate interface implementation.
+ // ExtensionInstallPrompt::Delegate interface implementation.
virtual void InstallUIProceed() OVERRIDE;
virtual void InstallUIAbort(bool user_initiated) OVERRIDE;
@@ -118,7 +118,7 @@ class WebstoreInlineInstaller
std::string id_;
GURL requestor_url_;
Delegate* delegate_;
- scoped_ptr<ExtensionInstallUI> install_ui_;
+ scoped_ptr<ExtensionInstallPrompt> install_ui_;
// For fetching webstore JSON data.
scoped_ptr<content::URLFetcher> webstore_data_url_fetcher_;

Powered by Google App Engine
This is Rietveld 408576698