summaryrefslogtreecommitdiffstats
path: root/remoting/host/setup/test_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/host/setup/test_util.h')
-rw-r--r--remoting/host/setup/test_util.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/remoting/host/setup/test_util.h b/remoting/host/setup/test_util.h
index 77a46ab..8a40f5b 100644
--- a/remoting/host/setup/test_util.h
+++ b/remoting/host/setup/test_util.h
@@ -5,15 +5,14 @@
#ifndef REMOTING_HOST_SETUP_TEST_UTIL_H_
#define REMOTING_HOST_SETUP_TEST_UTIL_H_
-#include "base/platform_file.h"
+#include "base/files/file.h"
namespace remoting {
// Creates an anonymous, unidirectional pipe, returning true if successful. On
-// success, the caller is responsible for closing both ends using
-// base::ClosePlatformFile().
-bool MakePipe(base::PlatformFile* read_handle,
- base::PlatformFile* write_handle);
+// success, the receives ownership of both files.
+bool MakePipe(base::File* read_file,
+ base::File* write_file);
} // namespace remoting