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

Unified Diff: net/quic/chromium/quic_utils_chromium_test.cc

Issue 2524523002: Remove various 'using std::' statements from QUIC code and use (Closed)
Patch Set: Rebase Created 4 years 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 | « net/quic/chromium/quic_stream_factory_test.cc ('k') | net/quic/core/congestion_control/cubic.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/chromium/quic_utils_chromium_test.cc
diff --git a/net/quic/chromium/quic_utils_chromium_test.cc b/net/quic/chromium/quic_utils_chromium_test.cc
index b0cdfefb0f42e7219f987546eaba8a189bd9db8c..9642568f81a5e27cdad9e2e427af7db0de513d43 100644
--- a/net/quic/chromium/quic_utils_chromium_test.cc
+++ b/net/quic/chromium/quic_utils_chromium_test.cc
@@ -8,21 +8,20 @@
#include "testing/gtest/include/gtest/gtest.h"
-using std::map;
namespace net {
namespace test {
namespace {
TEST(QuicUtilsChromiumTest, FindOrNullTest) {
- map<int, int> m;
+ std::map<int, int> m;
m[0] = 2;
// Check FindOrNull
int* p1 = FindOrNull(m, 0);
CHECK_EQ(*p1, 2);
++(*p1);
- const map<int, int>& const_m = m;
+ const std::map<int, int>& const_m = m;
const int* p2 = FindOrNull(const_m, 0);
CHECK_EQ(*p2, 3);
CHECK(FindOrNull(m, 1) == nullptr);
@@ -41,7 +40,7 @@ TEST(QuicUtilsChromiumTest, FindOrDieTest) {
EXPECT_EQ(20, FindOrDie(m, 10));
// Make sure we can lookup values in a const map.
- const map<int, int>& const_m = m;
+ const std::map<int, int>& const_m = m;
EXPECT_EQ(20, FindOrDie(const_m, 10));
}
« no previous file with comments | « net/quic/chromium/quic_stream_factory_test.cc ('k') | net/quic/core/congestion_control/cubic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698