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

Unified Diff: crypto/p224_unittest.cc

Issue 11368035: crypto: Remove forbidden using namespace directive. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « crypto/p224_spake_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crypto/p224_unittest.cc
diff --git a/crypto/p224_unittest.cc b/crypto/p224_unittest.cc
index c6acfdd67cec4238e3f752d5f9c50ce0175bfca4..ef9e305e943b26f784e01ed87396686b8eb375d1 100644
--- a/crypto/p224_unittest.cc
+++ b/crypto/p224_unittest.cc
@@ -9,7 +9,8 @@
#include "testing/gtest/include/gtest/gtest.h"
-using namespace crypto;
+namespace crypto {
+
using p224::Point;
// kBasePointExternal is the P224 base point in external representation.
@@ -819,3 +820,5 @@ TEST(P224, Infinity) {
// We shouldn't allow ∞ to be imported.
EXPECT_FALSE(a.SetFromString(std::string(zeros, sizeof(zeros))));
}
+
+} // namespace crypto
« no previous file with comments | « crypto/p224_spake_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698