diff options
author | rvargas <rvargas@chromium.org> | 2015-01-23 16:27:25 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-24 00:29:27 +0000 |
commit | 960db8860336db15dbdbe71ebbff318833697f81 (patch) | |
tree | 330c81b9f65a29b3237b55c33e4940cb20afe121 /sandbox/mac | |
parent | 9ec42b887a697f656b4df721dbde5cd08104af96 (diff) | |
download | chromium_src-960db8860336db15dbdbe71ebbff318833697f81.zip chromium_src-960db8860336db15dbdbe71ebbff318833697f81.tar.gz chromium_src-960db8860336db15dbdbe71ebbff318833697f81.tar.bz2 |
Rename base::Process::pid() to Pid()
The method is not a simple accessor.
BUG=417532
TBR=satorux@chromium.org (chromeos)
TBR=siggi@chromium.org (browser_watcher)
TBR=mseaborn@chromium.org (nacl)
TBR=davidben@chromium.org (content)
TBR=rsesek@chromium.org (sandbox)
TBR=sadrul@chromium.org (ui)
Review URL: https://codereview.chromium.org/864163003
Cr-Commit-Position: refs/heads/master@{#312978}
Diffstat (limited to 'sandbox/mac')
-rw-r--r-- | sandbox/mac/bootstrap_sandbox_unittest.mm | 4 | ||||
-rw-r--r-- | sandbox/mac/xpc_message_server_unittest.cc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sandbox/mac/bootstrap_sandbox_unittest.mm b/sandbox/mac/bootstrap_sandbox_unittest.mm index bd788bd..7e5e8b6 100644 --- a/sandbox/mac/bootstrap_sandbox_unittest.mm +++ b/sandbox/mac/bootstrap_sandbox_unittest.mm @@ -107,7 +107,7 @@ class BootstrapSandboxTest : public base::MultiProcessTest { EXPECT_TRUE(process.WaitForExit(&code)); EXPECT_EQ(0, code); if (out_pid) - *out_pid = process.pid(); + *out_pid = process.Pid(); } protected: @@ -129,7 +129,7 @@ TEST_F(BootstrapSandboxTest, DistributedNotifications_Unsandboxed) { [observer waitForNotification]; EXPECT_EQ(1, [observer receivedCount]); - EXPECT_EQ(process.pid(), [[observer object] intValue]); + EXPECT_EQ(process.Pid(), [[observer object] intValue]); } // Run the test with the sandbox enabled without notifications on the policy diff --git a/sandbox/mac/xpc_message_server_unittest.cc b/sandbox/mac/xpc_message_server_unittest.cc index b9f90562..91975ba 100644 --- a/sandbox/mac/xpc_message_server_unittest.cc +++ b/sandbox/mac/xpc_message_server_unittest.cc @@ -159,8 +159,8 @@ XPC_TEST_F(GetSenderPID) // { ASSERT_TRUE(child.WaitForExit(&exit_code)); EXPECT_EQ(0, exit_code); - EXPECT_EQ(child.pid(), sender_pid); - EXPECT_EQ(child.pid(), child_pid); + EXPECT_EQ(child.Pid(), sender_pid); + EXPECT_EQ(child.Pid(), child_pid); EXPECT_EQ(sender_pid, child_pid); } |