summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/crypto_module_password_dialog.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-24 01:55:29 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-24 01:55:29 +0000
commit6246ac504ac2192f1071d706c1c682b841091a4b (patch)
tree9de3b1461ee4b2ff03b74a9d1e259bf70c2f2ed3 /chrome/browser/ui/crypto_module_password_dialog.cc
parent78ce30267a216a687f063f4413fbf4364d139c56 (diff)
downloadchromium_src-6246ac504ac2192f1071d706c1c682b841091a4b.zip
chromium_src-6246ac504ac2192f1071d706c1c682b841091a4b.tar.gz
chromium_src-6246ac504ac2192f1071d706c1c682b841091a4b.tar.bz2
chrome: Move crypto_module_password_dialog.h into chrome namespace.
BUG=133088 TBR=ben@chromium.org Review URL: https://codereview.chromium.org/10956061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158225 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/crypto_module_password_dialog.cc')
-rw-r--r--chrome/browser/ui/crypto_module_password_dialog.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/chrome/browser/ui/crypto_module_password_dialog.cc b/chrome/browser/ui/crypto_module_password_dialog.cc
index 868400d..fcd6f4b 100644
--- a/chrome/browser/ui/crypto_module_password_dialog.cc
+++ b/chrome/browser/ui/crypto_module_password_dialog.cc
@@ -16,12 +16,14 @@
using content::BrowserThread;
+namespace chrome {
+
namespace {
class CryptoModuleBlockingDialogDelegate
: public crypto::CryptoModuleBlockingPasswordDelegate {
public:
- CryptoModuleBlockingDialogDelegate(browser::CryptoModulePasswordReason reason,
+ CryptoModuleBlockingDialogDelegate(CryptoModulePasswordReason reason,
const std::string& server)
: event_(false, false),
reason_(reason),
@@ -77,22 +79,20 @@ class CryptoModuleBlockingDialogDelegate
}
base::WaitableEvent event_;
- browser::CryptoModulePasswordReason reason_;
+ CryptoModulePasswordReason reason_;
std::string server_;
std::string password_;
bool cancelled_;
DISALLOW_COPY_AND_ASSIGN(CryptoModuleBlockingDialogDelegate);
};
-} // namespace
-namespace browser {
+} // namespace
crypto::CryptoModuleBlockingPasswordDelegate*
- NewCryptoModuleBlockingDialogDelegate(
- CryptoModulePasswordReason reason,
- const std::string& server) {
+ NewCryptoModuleBlockingDialogDelegate(CryptoModulePasswordReason reason,
+ const std::string& server) {
return new CryptoModuleBlockingDialogDelegate(reason, server);
}
-} // namespace browser
+} // namespace chrome