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

Unified Diff: chromeos/dbus/pipe_reader.h

Issue 2081153002: No dbus::FileDescriptor in DebugDaemonClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 4 years, 4 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
« no previous file with comments | « chromeos/dbus/lorgnette_manager_client.cc ('k') | chromeos/dbus/pipe_reader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/pipe_reader.h
diff --git a/chromeos/dbus/pipe_reader.h b/chromeos/dbus/pipe_reader.h
index eb19382ea989df669156c4913669ef83e3c7ab68..3df735538602e1a905838e9835d3f25b1aa698a9 100644
--- a/chromeos/dbus/pipe_reader.h
+++ b/chromeos/dbus/pipe_reader.h
@@ -9,7 +9,7 @@
#include <string>
#include "base/callback.h"
-#include "base/files/file.h"
+#include "base/files/scoped_file.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
@@ -47,7 +47,7 @@ class CHROMEOS_EXPORT PipeReader {
// On success data will automatically be accumulated into a string that
// can be retrieved with PipeReader::data(). To shutdown collection delete
// the instance and/or use PipeReader::OnDataReady(-1).
- base::File StartIO();
+ base::ScopedFD StartIO();
// Called when pipe data are available. Can also be used to shutdown
// data collection by passing -1 for |byte_count|.
« no previous file with comments | « chromeos/dbus/lorgnette_manager_client.cc ('k') | chromeos/dbus/pipe_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698