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

Unified Diff: chrome/browser/extensions/extension_uninstall_dialog.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/extensions/extension_uninstall_dialog.h
diff --git a/chrome/browser/extensions/extension_uninstall_dialog.h b/chrome/browser/extensions/extension_uninstall_dialog.h
index ed7beadc29ed276c8cc5a8eec6481c17a93158ee..0d2f112a1ad781feb8fb145e165efd98af28205a 100644
--- a/chrome/browser/extensions/extension_uninstall_dialog.h
+++ b/chrome/browser/extensions/extension_uninstall_dialog.h
@@ -20,14 +20,13 @@ namespace base {
class MessageLoop;
}
-namespace extensions {
-class Extension;
-}
-
namespace gfx {
class Image;
}
+namespace extensions {
+class Extension;
+
class ExtensionUninstallDialog
: public content::NotificationObserver,
public base::SupportsWeakPtr<ExtensionUninstallDialog> {
@@ -58,13 +57,12 @@ class ExtensionUninstallDialog
// Starts the process of showing a confirmation UI, which is split into two.
// 1) Set off a 'load icon' task.
// 2) Handle the load icon response and show the UI (OnImageLoaded).
- void ConfirmUninstall(const extensions::Extension* extension);
+ void ConfirmUninstall(const Extension* extension);
// This shows the same dialog as above, except it also shows which extension
// triggered the dialog by calling chrome.management.uninstall API.
- void ConfirmProgrammaticUninstall(
- const extensions::Extension* extension,
- const extensions::Extension* triggering_extension);
+ void ConfirmProgrammaticUninstall(const Extension* extension,
+ const Extension* triggering_extension);
std::string GetHeadingText();
@@ -82,11 +80,11 @@ class ExtensionUninstallDialog
Delegate* delegate_;
// The extension we are showing the dialog for.
- const extensions::Extension* extension_;
+ const Extension* extension_;
// The extension triggering the dialog if the dialog was shown by
// chrome.management.uninstall.
- const extensions::Extension* triggering_extension_;
+ const Extension* triggering_extension_;
// The extensions icon.
gfx::ImageSkia icon_;
@@ -123,4 +121,6 @@ class ExtensionUninstallDialog
DISALLOW_COPY_AND_ASSIGN(ExtensionUninstallDialog);
};
+} // namespace extensions
+
#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_UNINSTALL_DIALOG_H_
« no previous file with comments | « chrome/browser/extensions/extension_disabled_ui.cc ('k') | chrome/browser/extensions/extension_uninstall_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698