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

Unified Diff: chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc

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/views/extensions/extension_uninstall_dialog_view.cc
diff --git a/chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc b/chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc
index 9c639103c6bbccf432d7b3d09a64a7b5dac79da0..6c97fe4873dd0f5e74a4c8da7ffe51f88f4359d0 100644
--- a/chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc
+++ b/chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc
@@ -43,11 +43,13 @@ gfx::NativeWindow GetParent(Browser* browser) {
}
// Views implementation of the uninstall dialog.
-class ExtensionUninstallDialogViews : public ExtensionUninstallDialog {
+class ExtensionUninstallDialogViews
+ : public extensions::ExtensionUninstallDialog {
public:
- ExtensionUninstallDialogViews(Profile* profile,
- Browser* browser,
- ExtensionUninstallDialog::Delegate* delegate);
+ ExtensionUninstallDialogViews(
+ Profile* profile,
+ Browser* browser,
+ extensions::ExtensionUninstallDialog::Delegate* delegate);
virtual ~ExtensionUninstallDialogViews();
// Forwards the accept and cancels to the delegate.
@@ -114,8 +116,8 @@ class ExtensionUninstallDialogDelegateView : public views::DialogDelegateView {
ExtensionUninstallDialogViews::ExtensionUninstallDialogViews(
Profile* profile,
Browser* browser,
- ExtensionUninstallDialog::Delegate* delegate)
- : ExtensionUninstallDialog(profile, browser, delegate),
+ extensions::ExtensionUninstallDialog::Delegate* delegate)
+ : extensions::ExtensionUninstallDialog(profile, browser, delegate),
view_(NULL),
show_in_app_list_(!browser) {
}
@@ -245,9 +247,9 @@ void ExtensionUninstallDialogDelegateView::Layout() {
} // namespace
// static
-ExtensionUninstallDialog* ExtensionUninstallDialog::Create(
- Profile* profile,
- Browser* browser,
- Delegate* delegate) {
+extensions::ExtensionUninstallDialog*
+extensions::ExtensionUninstallDialog::Create(Profile* profile,
+ Browser* browser,
+ Delegate* delegate) {
return new ExtensionUninstallDialogViews(profile, browser, delegate);
}

Powered by Google App Engine
This is Rietveld 408576698