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

Unified Diff: base/process/process_metrics_posix.cc

Issue 809603004: base: Add ashmem support to base::DiscardableSharedMemory implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix include 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/process/process_metrics_ios.cc ('k') | base/process/process_metrics_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process/process_metrics_posix.cc
diff --git a/base/process/process_metrics_posix.cc b/base/process/process_metrics_posix.cc
index 7afae214d4a8708db1f6d5df59a28c7a301ea47d..42b3f2d665544cfed91d535b7ebee371bd5996a6 100644
--- a/base/process/process_metrics_posix.cc
+++ b/base/process/process_metrics_posix.cc
@@ -68,4 +68,8 @@ void SetFdLimit(unsigned int max_descriptors) {
}
}
+size_t GetPageSize() {
+ return getpagesize();
+}
+
} // namespace base
« no previous file with comments | « base/process/process_metrics_ios.cc ('k') | base/process/process_metrics_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698