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

Unified Diff: components/metrics/system_memory_stats_recorder_win.cc

Issue 1366643002: Extract guts of ChromeStabilityMetricsProvider into helper class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 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 | « components/metrics/system_memory_stats_recorder_linux.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics/system_memory_stats_recorder_win.cc
diff --git a/chrome/browser/memory/system_memory_stats_recorder_win.cc b/components/metrics/system_memory_stats_recorder_win.cc
similarity index 93%
rename from chrome/browser/memory/system_memory_stats_recorder_win.cc
rename to components/metrics/system_memory_stats_recorder_win.cc
index b90949869883e60f0579298ed4f865978aa95a07..34ff7bc1ced49e02e6e23c71f3a6f47486f2bf0c 100644
--- a/chrome/browser/memory/system_memory_stats_recorder_win.cc
+++ b/components/metrics/system_memory_stats_recorder_win.cc
@@ -2,14 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/memory/system_memory_stats_recorder.h"
+#include "components/metrics/system_memory_stats_recorder.h"
#include <windows.h>
#include "base/metrics/histogram_macros.h"
#include "base/process/process_metrics.h"
-namespace memory {
+namespace metrics {
void RecordMemoryStats(RecordMemoryStatsType type) {
MEMORYSTATUSEX mem_status;
@@ -41,4 +41,4 @@ void RecordMemoryStats(RecordMemoryStatsType type) {
}
}
-} // namespace memory
+} // namespace metrics
« no previous file with comments | « components/metrics/system_memory_stats_recorder_linux.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698