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

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

Issue 191673003: 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 cfd2eb3baeeb308340229b6ae8b87ffda929b5a7..d916835b1a26c99a30a1891258f040c4d12d8018 100644
--- a/net/test/spawned_test_server/local_test_server.h
+++ b/net/test/spawned_test_server/local_test_server.h
@@ -8,6 +8,7 @@
#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"
@@ -105,8 +106,7 @@ class LocalTestServer : public BaseTestServer {
#if defined(OS_POSIX)
// The file descriptor the child writes to when it starts.
- int child_fd_;
- file_util::ScopedFD child_fd_closer_;
+ base::ScopedFD child_fd_;
#endif
DISALLOW_COPY_AND_ASSIGN(LocalTestServer);

Powered by Google App Engine
This is Rietveld 408576698