| 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\"/>"
|
|
|