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

Side by Side Diff: base/process/process_metrics_ios.cc

Issue 822713002: Update from https://crrev.com/309415 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/process/process_metrics.h" 5 #include "base/process/process_metrics.h"
6 6
7 #include <mach/task.h> 7 #include <mach/task.h>
8 8
9 namespace base { 9 namespace base {
10 10
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 if (max_fds > INT_MAX) 58 if (max_fds > INT_MAX)
59 max_fds = INT_MAX; 59 max_fds = INT_MAX;
60 60
61 return static_cast<size_t>(max_fds); 61 return static_cast<size_t>(max_fds);
62 } 62 }
63 63
64 void SetFdLimit(unsigned int max_descriptors) { 64 void SetFdLimit(unsigned int max_descriptors) {
65 // Unimplemented. 65 // Unimplemented.
66 } 66 }
67 67
68 size_t GetPageSize() {
69 return getpagesize();
70 }
71
68 } // namespace base 72 } // namespace base
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698