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

Unified Diff: third_party/WebKit/public/platform/Platform.h

Issue 1671383003: [Onion Soup] Remove dead memory usage code in BlinkPlatformImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 | « content/child/blink_platform_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8f4793b22fa5b8956afa4787b546fd5e362e9410..2454f28872e2b0dec33a528f91238c8d7a89b190 100644
--- a/third_party/WebKit/public/platform/Platform.h
+++ b/third_party/WebKit/public/platform/Platform.h
@@ -259,22 +259,9 @@ public:
return WebString();
}
- // Memory --------------------------------------------------------------
-
- // Returns the current space allocated for the pagefile, in MB.
- // That is committed size for Windows and virtual memory size for POSIX
- virtual size_t memoryUsageMB() { return 0; }
-
// Same as above, but always returns actual value, without any caches.
virtual size_t actualMemoryUsageMB() { return 0; }
- // Return the physical memory of the current machine, in MB.
- virtual size_t physicalMemoryMB() { return 0; }
-
- // Return the available virtual memory of the current machine, in MB. Or
- // zero, if there is no limit.
- virtual size_t virtualMemoryLimitMB() { return 0; }
-
// Return the number of of processors of the current machine.
virtual size_t numberOfProcessors() { return 0; }
« no previous file with comments | « content/child/blink_platform_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698