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

Unified Diff: components/metrics/system_memory_stats_recorder_linux.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
Index: components/metrics/system_memory_stats_recorder_linux.cc
diff --git a/chrome/browser/memory/system_memory_stats_recorder_linux.cc b/components/metrics/system_memory_stats_recorder_linux.cc
similarity index 97%
rename from chrome/browser/memory/system_memory_stats_recorder_linux.cc
rename to components/metrics/system_memory_stats_recorder_linux.cc
index fbec6ef4d5c88ba56991a57521a18e427a8023b0..b5b2641ceefd39558f2a9ee775e6f4fa98edb1ce 100644
--- a/chrome/browser/memory/system_memory_stats_recorder_linux.cc
+++ b/components/metrics/system_memory_stats_recorder_linux.cc
@@ -2,12 +2,12 @@
// 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 "base/metrics/histogram_macros.h"
#include "base/process/process_metrics.h"
-namespace memory {
+namespace metrics {
// Record a size in megabytes, a potential interval from 250MB up to 32 GB.
#define UMA_HISTOGRAM_ALLOCATED_MEGABYTES(name, sample) \
@@ -94,4 +94,4 @@ void RecordMemoryStats(RecordMemoryStatsType type) {
}
}
-} // namespace memory
+} // namespace metrics
« no previous file with comments | « components/metrics/system_memory_stats_recorder.h ('k') | components/metrics/system_memory_stats_recorder_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698