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

Unified Diff: components/app_modal_dialogs/app_modal_dialog_queue.h

Issue 688853005: Consolidate javascript_dialog_manager.h and javascript_dialog_manager_impl.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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: components/app_modal_dialogs/app_modal_dialog_queue.h
diff --git a/components/app_modal_dialogs/app_modal_dialog_queue.h b/components/app_modal_dialogs/app_modal_dialog_queue.h
index aca8a23ab9f0fc3b8fe6e747d7242177e02b86e2..7659d4d67fbec2a292909ce6f21075c7015ebb71 100644
--- a/components/app_modal_dialogs/app_modal_dialog_queue.h
+++ b/components/app_modal_dialogs/app_modal_dialog_queue.h
@@ -9,10 +9,12 @@
#include "base/basictypes.h"
-class AppModalDialog;
-
template <typename T> struct DefaultSingletonTraits;
+namespace app_modal_dialogs {
+
+class AppModalDialog;
+
// Keeps a queue of AppModalDialogs, making sure only one app modal
// dialog is shown at a time.
// This class is a singleton.
@@ -86,4 +88,6 @@ class AppModalDialogQueue {
DISALLOW_COPY_AND_ASSIGN(AppModalDialogQueue);
};
+} // namespace app_modal_dialogs
+
#endif // COMPONENTS_APP_MODAL_DIALOGS_APP_MODAL_DIALOG_QUEUE_H_

Powered by Google App Engine
This is Rietveld 408576698