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

Unified Diff: base/trace_event/process_memory_dump.h

Issue 1573313002: Add support for CountResidentBytes in windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nit. Created 4 years, 11 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
« no previous file with comments | « no previous file | base/trace_event/process_memory_dump.cc » ('j') | base/trace_event/process_memory_dump.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/trace_event/process_memory_dump.h
diff --git a/base/trace_event/process_memory_dump.h b/base/trace_event/process_memory_dump.h
index 5a6640288170783cd0c77c3580bf5c427dbe3312..afa20cd05c389bf81756db5260fadab78cdea692 100644
--- a/base/trace_event/process_memory_dump.h
+++ b/base/trace_event/process_memory_dump.h
@@ -26,7 +26,8 @@
// resident memory.
// TODO(crbug.com/542671): COUNT_RESIDENT_BYTES_SUPPORTED is disabled on iOS
// as it cause memory corruption on iOS 9.0+ devices.
-#if defined(OS_POSIX) && !defined(OS_NACL) && !defined(OS_IOS)
+#if (defined(OS_POSIX) && !defined(OS_NACL) && !defined(OS_IOS)) || \
+ defined(OS_WIN)
#define COUNT_RESIDENT_BYTES_SUPPORTED
#endif
« no previous file with comments | « no previous file | base/trace_event/process_memory_dump.cc » ('j') | base/trace_event/process_memory_dump.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698