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

Unified Diff: components/browser_watcher/exit_code_watcher_win_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
Index: components/browser_watcher/exit_code_watcher_win_unittest.cc
diff --git a/components/browser_watcher/exit_code_watcher_win_unittest.cc b/components/browser_watcher/exit_code_watcher_win_unittest.cc
index f9d495a324b8c0db11cc3624fe1ba57aba26d4e7..10ba2fd4128476359098619c721673bcf740ae28 100644
--- a/components/browser_watcher/exit_code_watcher_win_unittest.cc
+++ b/components/browser_watcher/exit_code_watcher_win_unittest.cc
@@ -98,9 +98,8 @@ class ExitCodeWatcherTest : public testing::Test {
KEY_QUERY_VALUE);
// The value name should encode the process id at the start.
- EXPECT_TRUE(StartsWith(it.Name(),
- base::StringPrintf(L"%d-", proc_id),
- false));
+ EXPECT_TRUE(base::StartsWith(it.Name(), base::StringPrintf(L"%d-", proc_id),
+ false));
DWORD value = 0;
ASSERT_EQ(ERROR_SUCCESS, key.ReadValueDW(it.Name(), &value));
ASSERT_EQ(exit_code, value);

Powered by Google App Engine
This is Rietveld 408576698