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

Unified Diff: net/test/spawned_test_server/local_test_server.h

Issue 197873014: Revert of Implement ScopedFD in terms of ScopedGeneric. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
Index: net/test/spawned_test_server/local_test_server.h
diff --git a/net/test/spawned_test_server/local_test_server.h b/net/test/spawned_test_server/local_test_server.h
index d916835b1a26c99a30a1891258f040c4d12d8018..cfd2eb3baeeb308340229b6ae8b87ffda929b5a7 100644
--- a/net/test/spawned_test_server/local_test_server.h
+++ b/net/test/spawned_test_server/local_test_server.h
@@ -8,7 +8,6 @@
#include <string>
#include "base/file_util.h"
-#include "base/files/scoped_file.h"
#include "base/process/process_handle.h"
#include "net/test/spawned_test_server/base_test_server.h"
@@ -106,7 +105,8 @@
#if defined(OS_POSIX)
// The file descriptor the child writes to when it starts.
- base::ScopedFD child_fd_;
+ int child_fd_;
+ file_util::ScopedFD child_fd_closer_;
#endif
DISALLOW_COPY_AND_ASSIGN(LocalTestServer);
« no previous file with comments | « media/video/capture/linux/video_capture_device_linux.cc ('k') | net/test/spawned_test_server/local_test_server_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698