Index: base/process_util_ios.mm |
diff --git a/base/process_util_ios.mm b/base/process_util_ios.mm |
index 1e2b4892e841d281c1ec95c75f3dfb1477d14abb..3064c9567f8db155974c6d611639911621cf36bd 100644 |
--- a/base/process_util_ios.mm |
+++ b/base/process_util_ios.mm |
@@ -15,33 +15,8 @@ |
namespace base { |
-ProcessId GetCurrentProcId() { |
- return getpid(); |
-} |
- |
-ProcessHandle GetCurrentProcessHandle() { |
- return GetCurrentProcId(); |
-} |
- |
void RaiseProcessToHighPriority() { |
// Impossible on iOS. Do nothing. |
} |
-size_t GetMaxFds() { |
- static const rlim_t kSystemDefaultMaxFds = 256; |
- rlim_t max_fds; |
- struct rlimit nofile; |
- if (getrlimit(RLIMIT_NOFILE, &nofile)) { |
- // Error case: Take a best guess. |
- max_fds = kSystemDefaultMaxFds; |
- } else { |
- max_fds = nofile.rlim_cur; |
- } |
- |
- if (max_fds > INT_MAX) |
- max_fds = INT_MAX; |
- |
- return static_cast<size_t>(max_fds); |
-} |
- |
} // namespace base |