summaryrefslogtreecommitdiffstats
path: root/components/app_modal/app_modal_dialog_queue.cc
diff options
context:
space:
mode:
authoroshima <oshima@chromium.org>2014-11-19 14:21:03 -0800
committerCommit bot <commit-bot@chromium.org>2014-11-19 22:21:32 +0000
commit0929be2a6d3e1880cfb047a7adc1c3e8e6dd5285 (patch)
treecb838d09bb51fca863e1225c1a91f09518fa3653 /components/app_modal/app_modal_dialog_queue.cc
parent8d4fc306580f056833a10dd6f0b55f8d2d665602 (diff)
downloadchromium_src-0929be2a6d3e1880cfb047a7adc1c3e8e6dd5285.zip
chromium_src-0929be2a6d3e1880cfb047a7adc1c3e8e6dd5285.tar.gz
chromium_src-0929be2a6d3e1880cfb047a7adc1c3e8e6dd5285.tar.bz2
Consolidate javascript_dialog_manager.h and javascript_dialog_manager_impl.h
* Renamed JavaScriptDialgoManagerImpl to JavaScriptDialogManager. * Add namespace app_modal_dialogs * Add namespace javascript_dialog_extensions_client * Shortened InstallJavaScriptDialogExtensionsClient to InstallClient to fit the 80 chars limit. BUG=410499 TBR=sky@chromium.org Review URL: https://codereview.chromium.org/688853005 Cr-Commit-Position: refs/heads/master@{#304903}
Diffstat (limited to 'components/app_modal/app_modal_dialog_queue.cc')
-rw-r--r--components/app_modal/app_modal_dialog_queue.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/app_modal/app_modal_dialog_queue.cc b/components/app_modal/app_modal_dialog_queue.cc
index b90ceb3..2bb527d 100644
--- a/components/app_modal/app_modal_dialog_queue.cc
+++ b/components/app_modal/app_modal_dialog_queue.cc
@@ -7,6 +7,8 @@
#include "base/memory/singleton.h"
#include "components/app_modal/app_modal_dialog.h"
+namespace app_modal {
+
// static
AppModalDialogQueue* AppModalDialogQueue::GetInstance() {
return Singleton<AppModalDialogQueue>::get();
@@ -74,3 +76,5 @@ AppModalDialog* AppModalDialogQueue::GetNextDialog() {
}
return NULL;
}
+
+} // namespace app_modal