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

Unified Diff: chrome/browser/local_discovery/privetv3_session_unittest.cc

Issue 1200393002: Add more string_util functions to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@string
Patch Set: Android 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 | « chrome/browser/jumplist_win.cc ('k') | chrome/browser/pdf/pdf_extension_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/local_discovery/privetv3_session_unittest.cc
diff --git a/chrome/browser/local_discovery/privetv3_session_unittest.cc b/chrome/browser/local_discovery/privetv3_session_unittest.cc
index 398ce1855a5f05f9ed623d90911d6209af2b3375..e2b80e7b080b54d541b29d46bce27903f4332724 100644
--- a/chrome/browser/local_discovery/privetv3_session_unittest.cc
+++ b/chrome/browser/local_discovery/privetv3_session_unittest.cc
@@ -122,7 +122,7 @@ TEST_F(PrivetV3SessionTest, InitError) {
TEST_F(PrivetV3SessionTest, VersionError) {
std::string response(kInfoResponse);
- ReplaceFirstSubstringAfterOffset(&response, 0, "3.0", "4.1");
+ base::ReplaceFirstSubstringAfterOffset(&response, 0, "3.0", "4.1");
EXPECT_CALL(*this, OnInitializedMock(Result::STATUS_SESSIONERROR, _))
.Times(1);
@@ -136,7 +136,7 @@ TEST_F(PrivetV3SessionTest, VersionError) {
TEST_F(PrivetV3SessionTest, ModeError) {
std::string response(kInfoResponse);
- ReplaceFirstSubstringAfterOffset(&response, 0, "mode", "mode_");
+ base::ReplaceFirstSubstringAfterOffset(&response, 0, "mode", "mode_");
EXPECT_CALL(*this, OnInitializedMock(Result::STATUS_SESSIONERROR, _))
.Times(1);
« no previous file with comments | « chrome/browser/jumplist_win.cc ('k') | chrome/browser/pdf/pdf_extension_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698