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

Unified Diff: base/process/process_metrics.h

Issue 2884353004: fuchsia: base_unittests (mostly) compiling (Closed)
Patch Set: . Created 3 years, 7 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: base/process/process_metrics.h
diff --git a/base/process/process_metrics.h b/base/process/process_metrics.h
index 9747a1c16bd7f1409d2297b5a976d89de85fdeac..4ae0d97aae3b9543ea48536599b1bb2ae5df4ca1 100644
--- a/base/process/process_metrics.h
+++ b/base/process/process_metrics.h
@@ -299,7 +299,7 @@ BASE_EXPORT void SetFdLimit(unsigned int max_descriptors);
#endif // defined(OS_POSIX)
#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) || \
- defined(OS_ANDROID) || defined(OS_AIX)
+ defined(OS_ANDROID) || defined(OS_AIX) || defined(OS_FUCHSIA)
// Data about system-wide memory consumption. Values are in KB. Available on
// Windows, Mac, Linux, Android and Chrome OS.
//
@@ -346,7 +346,8 @@ struct BASE_EXPORT SystemMemoryInfoKB {
int swap_free = 0;
#endif
-#if defined(OS_ANDROID) || defined(OS_LINUX) || defined(OS_AIX)
+#if defined(OS_ANDROID) || defined(OS_LINUX) || defined(OS_AIX) || \
+ defined(OS_FUCHSIA)
int buffers = 0;
int cached = 0;
int active_anon = 0;
@@ -360,7 +361,8 @@ struct BASE_EXPORT SystemMemoryInfoKB {
unsigned long pswpin = 0;
unsigned long pswpout = 0;
unsigned long pgmajfault = 0;
-#endif // defined(OS_ANDROID) || defined(OS_LINUX) || defined(OS_AIX)
+#endif // defined(OS_ANDROID) || defined(OS_LINUX) || defined(OS_AIX) ||
+ // defined(OS_FUCHSIA)
#if defined(OS_CHROMEOS)
int shmem = 0;

Powered by Google App Engine
This is Rietveld 408576698