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

Unified Diff: base/posix/file_descriptor_shuffle.h

Issue 10399100: Move FileDescriptorShuffle to base/posix. This file is very posix-specific. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 | « base/file_descriptor_shuffle_unittest.cc ('k') | base/posix/file_descriptor_shuffle.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/posix/file_descriptor_shuffle.h
diff --git a/base/file_descriptor_shuffle.h b/base/posix/file_descriptor_shuffle.h
similarity index 95%
rename from base/file_descriptor_shuffle.h
rename to base/posix/file_descriptor_shuffle.h
index 5740bfa0901f4070b2e0d870b7d606435b48e000..6888c3e523732a7b637c96f8ed6705023b3fef27 100644
--- a/base/file_descriptor_shuffle.h
+++ b/base/posix/file_descriptor_shuffle.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef BASE_FILE_DESCRIPTOR_SHUFFLE_H_
-#define BASE_FILE_DESCRIPTOR_SHUFFLE_H_
+#ifndef BASE_POSIX_FILE_DESCRIPTOR_SHUFFLE_H_
+#define BASE_POSIX_FILE_DESCRIPTOR_SHUFFLE_H_
// This code exists to perform the shuffling of file descriptors which is
// commonly needed when forking subprocesses. The naive approve is very simple,
@@ -84,4 +84,4 @@ static inline bool ShuffleFileDescriptors(InjectiveMultimap* map) {
} // namespace base
-#endif // BASE_FILE_DESCRIPTOR_SHUFFLE_H_
+#endif // BASE_POSIX_FILE_DESCRIPTOR_SHUFFLE_H_
« no previous file with comments | « base/file_descriptor_shuffle_unittest.cc ('k') | base/posix/file_descriptor_shuffle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698