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

Unified Diff: components/browser_watcher/exit_code_watcher_win_unittest.cc

Issue 864163003: Rename base::Process::pid() to Pid() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 c4410fb9f02a83a0d21eff590560dd9bc22ccd35..a5ba33372acf13f7a1eeacd2f0d546f15c5c505b 100644
--- a/components/browser_watcher/exit_code_watcher_win_unittest.cc
+++ b/components/browser_watcher/exit_code_watcher_win_unittest.cc
@@ -169,7 +169,7 @@ TEST_F(ExitCodeWatcherTest, ExitCodeWatcherOnExitedProcess) {
EXPECT_TRUE(watcher.Initialize(sleeper.process().Duplicate()));
// Verify that the watcher wrote a sentinel for the process.
- VerifyWroteExitCode(sleeper.process().pid(), STILL_ACTIVE);
+ VerifyWroteExitCode(sleeper.process().Pid(), STILL_ACTIVE);
// Kill the sleeper, and make sure it's exited before we continue.
ASSERT_NO_FATAL_FAILURE(sleeper.Kill(kExitCode, true));
@@ -177,7 +177,7 @@ TEST_F(ExitCodeWatcherTest, ExitCodeWatcherOnExitedProcess) {
watcher.WaitForExit();
EXPECT_EQ(kExitCode, watcher.exit_code());
- VerifyWroteExitCode(sleeper.process().pid(), kExitCode);
+ VerifyWroteExitCode(sleeper.process().Pid(), kExitCode);
}
} // namespace browser_watcher

Powered by Google App Engine
This is Rietveld 408576698