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

Unified Diff: components/component_updater/test/component_updater_ping_manager_unittest.cc

Issue 763833003: Remove using namespace in net/quic/quic_stream_sequencer.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/component_updater/test/component_updater_ping_manager_unittest.cc
diff --git a/components/component_updater/test/component_updater_ping_manager_unittest.cc b/components/component_updater/test/component_updater_ping_manager_unittest.cc
index 6504f3f22ec01a23cff6830abe29df1a9ad24417..3f0c43c60e43e91a4f97cf9c5dcb0f0383a6bc51 100644
--- a/components/component_updater/test/component_updater_ping_manager_unittest.cc
+++ b/components/component_updater/test/component_updater_ping_manager_unittest.cc
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <string>
+
#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
#include "base/run_loop.h"
@@ -71,7 +73,7 @@ TEST_F(ComponentUpdaterPingManagerTest, DISABLED_PingManagerTest) {
base::RunLoop().RunUntilIdle();
EXPECT_EQ(1, interceptor->GetCount()) << interceptor->GetRequestsAsString();
- EXPECT_NE(string::npos,
+ EXPECT_NE(std::string::npos,
interceptor->GetRequests()[0].find(
"<app appid=\"abc\" version=\"1.0\" nextversion=\"2.0\">"
"<event eventtype=\"3\" eventresult=\"1\"/></app>"))
@@ -89,7 +91,7 @@ TEST_F(ComponentUpdaterPingManagerTest, DISABLED_PingManagerTest) {
base::RunLoop().RunUntilIdle();
EXPECT_EQ(1, interceptor->GetCount()) << interceptor->GetRequestsAsString();
- EXPECT_NE(string::npos,
+ EXPECT_NE(std::string::npos,
interceptor->GetRequests()[0].find(
"<app appid=\"abc\" version=\"1.0\" nextversion=\"2.0\">"
"<event eventtype=\"3\" eventresult=\"0\"/></app>"))
@@ -117,7 +119,7 @@ TEST_F(ComponentUpdaterPingManagerTest, DISABLED_PingManagerTest) {
base::RunLoop().RunUntilIdle();
EXPECT_EQ(1, interceptor->GetCount()) << interceptor->GetRequestsAsString();
- EXPECT_NE(string::npos,
+ EXPECT_NE(std::string::npos,
interceptor->GetRequests()[0].find(
"<app appid=\"abc\" version=\"1.0\" nextversion=\"2.0\">"
"<event eventtype=\"3\" eventresult=\"0\" errorcat=\"1\" "
@@ -158,7 +160,7 @@ TEST_F(ComponentUpdaterPingManagerTest, DISABLED_PingManagerTest) {
EXPECT_EQ(1, interceptor->GetCount()) << interceptor->GetRequestsAsString();
EXPECT_NE(
- string::npos,
+ std::string::npos,
interceptor->GetRequests()[0].find(
"<app appid=\"abc\" version=\"1.0\" nextversion=\"2.0\">"
"<event eventtype=\"3\" eventresult=\"1\"/>"

Powered by Google App Engine
This is Rietveld 408576698