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

Unified Diff: base/process/process_metrics.h

Issue 421143002: Complete the removal of ProcessMetrics::CalculateFreeMemory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process/process_metrics.h
diff --git a/base/process/process_metrics.h b/base/process/process_metrics.h
index d7a49ab5948ec00f2da960f733bbea7bf7b1bc1e..15671337f679401e89f18ab67061f5fece747a54 100644
--- a/base/process/process_metrics.h
+++ b/base/process/process_metrics.h
@@ -154,12 +154,6 @@ class BASE_EXPORT ProcessMetrics {
// usage in bytes, as per definition of WorkingSetBytes.
bool GetWorkingSetKBytes(WorkingSetKBytes* ws_usage) const;
- // Computes the current process available memory for allocation.
- // It does a linear scan of the address space querying each memory region
- // for its free (unallocated) status. It is useful for estimating the memory
- // load and fragmentation.
- bool CalculateFreeMemory(FreeMBytes* free) const;
-
// Returns the CPU usage in percent since the last time this method or
// GetPlatformIndependentCPUUsage() was called. The first time this method
// is called it returns 0 and will return the actual CPU info on subsequent
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698