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

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

Issue 10388252: Refactoring ExtenionInstallUI to abstract the Browser references. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Minor clean-ups 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/extension_webstore_private_api.h
diff --git a/chrome/browser/extensions/extension_webstore_private_api.h b/chrome/browser/extensions/extension_webstore_private_api.h
index 4c31ab4f35aef2d811671cc29692f231ebadf886..b833f43e64f4f43595d88733a34b39b27b3819c1 100644
--- a/chrome/browser/extensions/extension_webstore_private_api.h
+++ b/chrome/browser/extensions/extension_webstore_private_api.h
@@ -10,7 +10,7 @@
#include "chrome/browser/extensions/bundle_installer.h"
#include "chrome/browser/extensions/extension_function.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 "chrome/common/net/gaia/google_service_auth_error.h"
@@ -73,7 +73,7 @@ class InstallBundleFunction : public AsyncExtensionFunction,
class BeginInstallWithManifestFunction
: public AsyncExtensionFunction,
- public ExtensionInstallUI::Delegate,
+ public ExtensionInstallPrompt::Delegate,
public WebstoreInstallHelper::Delegate {
public:
DECLARE_EXTENSION_FUNCTION_NAME("webstorePrivate.beginInstallWithManifest3");
@@ -118,7 +118,7 @@ class BeginInstallWithManifestFunction
InstallHelperResultCode result_code,
const std::string& error_message) OVERRIDE;
- // ExtensionInstallUI::Delegate:
+ // ExtensionInstallPrompt::Delegate:
virtual void InstallUIProceed() OVERRIDE;
virtual void InstallUIAbort(bool user_initiated) OVERRIDE;
@@ -144,11 +144,11 @@ class BeginInstallWithManifestFunction
SkBitmap icon_;
// A dummy Extension object we create for the purposes of using
- // ExtensionInstallUI to prompt for confirmation of the install.
+ // ExtensionInstallPrompt to prompt for confirmation of the install.
scoped_refptr<extensions::Extension> dummy_extension_;
// The class that displays the install prompt.
- scoped_ptr<ExtensionInstallUI> install_ui_;
+ scoped_ptr<ExtensionInstallPrompt> install_ui_;
Yoyo Zhou 2012/05/23 23:17:49 nit: rename
Jay Civelli 2012/05/30 20:20:35 Done.
};
class CompleteInstallFunction : public SyncExtensionFunction {

Powered by Google App Engine
This is Rietveld 408576698