summaryrefslogtreecommitdiff
path: root/common/subprocess_unittest.cc
diff options
context:
space:
mode:
authorJay Civelli <jcivelli@google.com>2017-03-30 11:02:03 -0700
committerHidehiko Abe <hidehiko@google.com>2017-11-28 15:05:29 +0900
commita78ddf883fe270dfd44ca030dd79eebf4ce22179 (patch)
tree0fe5b5756109210bfd97eb00abe194adbb70389e /common/subprocess_unittest.cc
parent3a9c9623f2ffbe256f2d4d8897939f3d48b3cf52 (diff)
update_engine: Update libchrome APIS to r456626.
The new libchrome has been ported from Chromium and some APIs have changed. Make necessary changes at call sites. BUG=chromium:724678 CQ-DEPEND=CL:480928 Test: Build. Change-Id: I4dbaea4a2a19031375a8bf2415645a4f226dab57
Diffstat (limited to 'common/subprocess_unittest.cc')
-rw-r--r--common/subprocess_unittest.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/subprocess_unittest.cc b/common/subprocess_unittest.cc
index cbc9a85f..c8996db5 100644
--- a/common/subprocess_unittest.cc
+++ b/common/subprocess_unittest.cc
@@ -32,7 +32,6 @@
#include <base/strings/string_util.h>
#include <base/strings/stringprintf.h>
#include <base/time/time.h>
-#include <brillo/bind_lambda.h>
#include <brillo/message_loops/base_message_loop.h>
#include <brillo/message_loops/message_loop.h>
#include <brillo/message_loops/message_loop_utils.h>
@@ -225,7 +224,7 @@ void CallbackBad(int return_code, const string& output) {
TEST_F(SubprocessTest, CancelTest) {
base::ScopedTempDir tempdir;
ASSERT_TRUE(tempdir.CreateUniqueTempDir());
- string fifo_path = tempdir.path().Append("fifo").value();
+ string fifo_path = tempdir.GetPath().Append("fifo").value();
EXPECT_EQ(0, mkfifo(fifo_path.c_str(), 0666));
// Start a process, make sure it is running and try to cancel it. We write