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

Unified Diff: base/sys_info_win.cc

Issue 227113011: Expose the virtual memory limit to blink (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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/sys_info_win.cc
diff --git a/base/sys_info_win.cc b/base/sys_info_win.cc
index 191fd94ff5e14c2c5ccc3ecaf11e8ae8aff842db..9cc0cfa48a3637d48c36978de2c798383e9a194d 100644
--- a/base/sys_info_win.cc
+++ b/base/sys_info_win.cc
@@ -49,6 +49,11 @@ int64 SysInfo::AmountOfAvailablePhysicalMemory() {
}
// static
+int64 SysInfo::AmountOfVirtualMemory() {
+ return 0;
+}
+
+// static
int64 SysInfo::AmountOfFreeDiskSpace(const FilePath& path) {
base::ThreadRestrictions::AssertIOAllowed();

Powered by Google App Engine
This is Rietveld 408576698