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

Unified Diff: extensions/utility/unpacker_unittest.cc

Issue 1172183002: Move StartsWith[ASCII] to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@string_util3
Patch Set: merger Created 5 years, 6 months 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 | « extensions/shell/common/shell_content_client_unittest.cc ('k') | google_apis/drive/test_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/utility/unpacker_unittest.cc
diff --git a/extensions/utility/unpacker_unittest.cc b/extensions/utility/unpacker_unittest.cc
index 107a0cc9f51a79e77180fb9c928aaca6e1bbb91f..b323e01eed50aa12f1ddd34133c347af19761692 100644
--- a/extensions/utility/unpacker_unittest.cc
+++ b/extensions/utility/unpacker_unittest.cc
@@ -168,8 +168,8 @@ TEST_F(UnpackerTest, BadPathError) {
static_cast<TestExtensionsClient*>(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() << "\"";
}
« no previous file with comments | « extensions/shell/common/shell_content_client_unittest.cc ('k') | google_apis/drive/test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698