| Index: components/component_updater/test/update_checker_unittest.cc
|
| diff --git a/components/component_updater/test/update_checker_unittest.cc b/components/component_updater/test/update_checker_unittest.cc
|
| index cb6fa5d8ec0f244e33c96a15f543ba1688481184..2372a73936577ca402d8cf47660f62f8fd6af546 100644
|
| --- a/components/component_updater/test/update_checker_unittest.cc
|
| +++ b/components/component_updater/test/update_checker_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/bind.h"
|
| #include "base/bind_helpers.h"
|
| #include "base/compiler_specific.h"
|
| @@ -182,16 +184,16 @@ TEST_F(UpdateCheckerTest, UpdateCheckSuccess) {
|
|
|
| // Sanity check the request.
|
| EXPECT_NE(
|
| - string::npos,
|
| + std::string::npos,
|
| post_interceptor_->GetRequests()[0].find(
|
| "request protocol=\"3.0\" extra=\"params\""));
|
| EXPECT_NE(
|
| - string::npos,
|
| + std::string::npos,
|
| post_interceptor_->GetRequests()[0].find(
|
| "app appid=\"jebgalgnebhfojomionfpkfelancnnkf\" version=\"0.9\">"
|
| "<updatecheck /><packages><package fp=\"fp1\"/></packages></app>"));
|
|
|
| - EXPECT_NE(string::npos,
|
| + EXPECT_NE(std::string::npos,
|
| post_interceptor_->GetRequests()[0].find("<hw physmemory="));
|
|
|
| // Sanity check the arguments of the callback after parsing.
|
|
|