diff options
author | Hidehiko Abe <hidehiko@google.com> | 2017-12-13 18:56:18 +0900 |
---|---|---|
committer | Treehugger Robot <treehugger-gerrit@google.com> | 2017-12-18 10:28:42 +0000 |
commit | 2b9d2417722cd4052b0e22494886f93c5b4ef042 (patch) | |
tree | 6f94bc97547d8b1c3ca26d30bc25e0f0a970c946 /common/subprocess_unittest.cc | |
parent | 6651a120b498539f682a43a28e6209cb81e33a20 (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: I01b70da87521d0884ed21acbd7ed3e0ff1e94357
Merged-In: I4dbaea4a2a19031375a8bf2415645a4f226dab57
Diffstat (limited to 'common/subprocess_unittest.cc')
-rw-r--r-- | common/subprocess_unittest.cc | 3 |
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 |