diff options
Diffstat (limited to 'www/chromium/files/patch-services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics.h')
-rw-r--r-- | www/chromium/files/patch-services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics.h | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/www/chromium/files/patch-services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics.h b/www/chromium/files/patch-services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics.h index 83e6eb0eaa83..df4eb423e0ea 100644 --- a/www/chromium/files/patch-services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics.h +++ b/www/chromium/files/patch-services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics.h @@ -1,6 +1,6 @@ ---- services/resource_coordinator/public/cpp/memory_instrumentation/os_metrics.h.orig 2019-03-11 22:01:02 UTC +--- services/resource_coordinator/public/cpp/memory_instrumentation/os_metrics.h.orig 2019-04-30 22:22:56 UTC +++ services/resource_coordinator/public/cpp/memory_instrumentation/os_metrics.h -@@ -26,9 +26,9 @@ class COMPONENT_EXPORT( +@@ -28,9 +28,9 @@ class COMPONENT_EXPORT( mojom::RawOSMemDump*); static std::vector<mojom::VmRegionPtr> GetProcessMemoryMaps(base::ProcessId); @@ -12,3 +12,21 @@ private: FRIEND_TEST_ALL_PREFIXES(OSMetricsTest, ParseProcSmaps); +@@ -44,7 +44,7 @@ class COMPONENT_EXPORT( + static std::vector<mojom::VmRegionPtr> GetProcessModules(base::ProcessId); + #endif + +-#if defined(OS_LINUX) || defined(OS_ANDROID) ++#if defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_BSD) + // Provides information on the dump state of resident pages. + enum class MappedAndResidentPagesDumpState { + // Access to /proc/<pid>/pagemap can be denied for android devices running +@@ -65,7 +65,7 @@ class COMPONENT_EXPORT( + const size_t end_address, + std::vector<uint8_t>* accessed_pages_bitmap); + +-#endif // defined(OS_LINUX) || defined(OS_ANDROID) ++#endif // defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_BSD) + }; + + } // namespace memory_instrumentation |