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

Unified Diff: chrome/browser/ui/webui/ntp/app_launcher_handler.h

Issue 307413002: Move ExtensionUninstallDialog into extensions namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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/ui/webui/ntp/app_launcher_handler.h
diff --git a/chrome/browser/ui/webui/ntp/app_launcher_handler.h b/chrome/browser/ui/webui/ntp/app_launcher_handler.h
index b6dc2dc995f7cb521159b53f5c492d9ae5cf614a..70e76c7ce7e6076d2be609ab63db7cf6042f3083 100644
--- a/chrome/browser/ui/webui/ntp/app_launcher_handler.h
+++ b/chrome/browser/ui/webui/ntp/app_launcher_handler.h
@@ -32,10 +32,11 @@ struct FaviconImageResult;
}
// The handler for Javascript messages related to the "apps" view.
-class AppLauncherHandler : public content::WebUIMessageHandler,
- public ExtensionUninstallDialog::Delegate,
- public ExtensionEnableFlowDelegate,
- public content::NotificationObserver {
+class AppLauncherHandler
+ : public content::WebUIMessageHandler,
+ public extensions::ExtensionUninstallDialog::Delegate,
+ public ExtensionEnableFlowDelegate,
+ public content::NotificationObserver {
public:
explicit AppLauncherHandler(ExtensionService* extension_service);
virtual ~AppLauncherHandler();
@@ -132,7 +133,7 @@ class AppLauncherHandler : public content::WebUIMessageHandler,
// Returns the ExtensionUninstallDialog object for this class, creating it if
// needed.
- ExtensionUninstallDialog* GetExtensionUninstallDialog();
+ extensions::ExtensionUninstallDialog* GetExtensionUninstallDialog();
// Continuation for installing a bookmark app after favicon lookup.
void OnFaviconForApp(scoped_ptr<AppInstallInfo> install_info,
@@ -160,7 +161,7 @@ class AppLauncherHandler : public content::WebUIMessageHandler,
PrefChangeRegistrar local_state_pref_change_registrar_;
// Used to show confirmation UI for uninstalling extensions in incognito mode.
- scoped_ptr<ExtensionUninstallDialog> extension_uninstall_dialog_;
+ scoped_ptr<extensions::ExtensionUninstallDialog> extension_uninstall_dialog_;
// Used to show confirmation UI for enabling extensions.
scoped_ptr<ExtensionEnableFlow> extension_enable_flow_;

Powered by Google App Engine
This is Rietveld 408576698