From 44ce0ec5b05184c4e33d597d4e5a32d9f38b15c2 Mon Sep 17 00:00:00 2001 From: brettw Date: Thu, 11 Jun 2015 18:57:57 -0700 Subject: Move StartsWith[ASCII] to base namespace. NOPRESUBMIT=true (no presubmit due to removing base:: from a ScopedAllowIO) Review URL: https://codereview.chromium.org/1172183002 Cr-Commit-Position: refs/heads/master@{#334108} --- extensions/utility/unpacker_unittest.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'extensions/utility') diff --git a/extensions/utility/unpacker_unittest.cc b/extensions/utility/unpacker_unittest.cc index 107a0cc..b323e01 100644 --- a/extensions/utility/unpacker_unittest.cc +++ b/extensions/utility/unpacker_unittest.cc @@ -168,8 +168,8 @@ TEST_F(UnpackerTest, BadPathError) { static_cast(ExtensionsClient::Get())); EXPECT_FALSE(unpacker_->Run()); - EXPECT_TRUE( - StartsWith(unpacker_->error_message(), ASCIIToUTF16(kExpected), false)) + EXPECT_TRUE(base::StartsWith(unpacker_->error_message(), + ASCIIToUTF16(kExpected), false)) << "Expected prefix: \"" << kExpected << "\", actual error: \"" << unpacker_->error_message() << "\""; } @@ -178,8 +178,8 @@ TEST_F(UnpackerTest, ImageDecodingError) { const char kExpected[] = "Could not decode image: "; SetupUnpacker("bad_image.crx"); EXPECT_FALSE(unpacker_->Run()); - EXPECT_TRUE( - StartsWith(unpacker_->error_message(), ASCIIToUTF16(kExpected), false)) + EXPECT_TRUE(base::StartsWith(unpacker_->error_message(), + ASCIIToUTF16(kExpected), false)) << "Expected prefix: \"" << kExpected << "\", actual error: \"" << unpacker_->error_message() << "\""; } -- cgit v1.1