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

Unified Diff: components/memory_pressure/direct_memory_pressure_calculator_win.cc

Issue 2181493002: Return unique_ptrs from base::ProcessMetrics. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove os_resource_win.* Created 4 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
Index: components/memory_pressure/direct_memory_pressure_calculator_win.cc
diff --git a/components/memory_pressure/direct_memory_pressure_calculator_win.cc b/components/memory_pressure/direct_memory_pressure_calculator_win.cc
index 5fee012ac14592460e95d2f5c39faf1650097e76..f393b7cf54ff952d75d23e1803adf0a86aa59ca4 100644
--- a/components/memory_pressure/direct_memory_pressure_calculator_win.cc
+++ b/components/memory_pressure/direct_memory_pressure_calculator_win.cc
@@ -4,13 +4,16 @@
#include "components/memory_pressure/direct_memory_pressure_calculator_win.h"
+#include "base/logging.h"
+#include "base/process/process_metrics.h"
+
namespace memory_pressure {
#if defined(MEMORY_PRESSURE_IS_POLLING)
namespace {
-static const int kKBperMB = 1024;
+const int kKBperMB = 1024;
} // namespace

Powered by Google App Engine
This is Rietveld 408576698