Index: third_party/WebKit/public/platform/Platform.h |
diff --git a/third_party/WebKit/public/platform/Platform.h b/third_party/WebKit/public/platform/Platform.h |
index f7360bf6cb93be8d78ffe7b66497474390e0ac11..d16b81d0fa0b184a650a94257c7c6c8ebac368e9 100644 |
--- a/third_party/WebKit/public/platform/Platform.h |
+++ b/third_party/WebKit/public/platform/Platform.h |
@@ -296,6 +296,9 @@ class BLINK_PLATFORM_EXPORT Platform { |
// Same as above, but always returns actual value, without any caches. |
virtual size_t ActualMemoryUsageMB() { return 0; } |
+ // Returns the number of megabytes of physical memory on the current machine. |
+ virtual size_t AmountOfPhysicalMemoryMB() { return 0; } |
+ |
// Return the number of of processors of the current machine. |
virtual size_t NumberOfProcessors() { return 0; } |