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

Unified Diff: chrome/browser/extensions/extension_management_api.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/extension_management_api.h
diff --git a/chrome/browser/extensions/extension_management_api.h b/chrome/browser/extensions/extension_management_api.h
index 69b04a657acae0a079a198afb8a3189c36ca2f8f..d30504a8f4c61f8f0913ad116ececd7521cb47ac 100644
--- a/chrome/browser/extensions/extension_management_api.h
+++ b/chrome/browser/extensions/extension_management_api.h
@@ -8,7 +8,7 @@
#include "base/compiler_specific.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/extension_uninstall_dialog.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
@@ -91,7 +91,7 @@ class LaunchAppFunction : public ExtensionManagementFunction {
};
class SetEnabledFunction : public AsyncExtensionManagementFunction,
- public ExtensionInstallUI::Delegate {
+ public ExtensionInstallPrompt::Delegate {
public:
DECLARE_EXTENSION_FUNCTION_NAME("management.setEnabled");
@@ -103,7 +103,7 @@ class SetEnabledFunction : public AsyncExtensionManagementFunction,
// ExtensionFunction:
virtual bool RunImpl() OVERRIDE;
- // ExtensionInstallUI::Delegate.
+ // ExtensionInstallPrompt::Delegate.
virtual void InstallUIProceed() OVERRIDE;
virtual void InstallUIAbort(bool user_initiated) OVERRIDE;
@@ -111,7 +111,7 @@ class SetEnabledFunction : public AsyncExtensionManagementFunction,
std::string extension_id_;
// Used for prompting to re-enable items with permissions escalation updates.
- scoped_ptr<ExtensionInstallUI> install_ui_;
+ scoped_ptr<ExtensionInstallPrompt> install_prompt_;
};
class UninstallFunction : public AsyncExtensionManagementFunction,
« no previous file with comments | « chrome/browser/extensions/extension_install_ui_default.cc ('k') | chrome/browser/extensions/extension_management_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698