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

Unified Diff: components/cronet/histogram_manager.cc

Issue 1075503002: Move histogram_manager from components/metrics to components/cronet (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Raman's comments Created 5 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
« no previous file with comments | « components/cronet/histogram_manager.h ('k') | components/cronet/histogram_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cronet/histogram_manager.cc
diff --git a/components/metrics/histogram_manager.cc b/components/cronet/histogram_manager.cc
similarity index 95%
rename from components/metrics/histogram_manager.cc
rename to components/cronet/histogram_manager.cc
index dfa865b3fa1c1bf485dd5875fae681b95b0dae13..afbb4478b8fb062c5e8ccd076bdca567e2eb0256 100644
--- a/components/metrics/histogram_manager.cc
+++ b/components/cronet/histogram_manager.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "components/metrics/histogram_manager.h"
+#include "components/cronet/histogram_manager.h"
#include <string>
#include <vector>
@@ -12,7 +12,7 @@
#include "base/metrics/histogram_samples.h"
#include "components/metrics/histogram_encoder.h"
-namespace metrics {
+namespace cronet {
// TODO(rtenneti): move g_histogram_manager into java code.
static base::LazyInstance<HistogramManager>::Leaky
@@ -64,4 +64,4 @@ bool HistogramManager::GetDeltas(std::vector<uint8>* data) {
return false;
}
-} // namespace metrics
+} // namespace cronet
« no previous file with comments | « components/cronet/histogram_manager.h ('k') | components/cronet/histogram_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698