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

Unified Diff: components/cronet/android/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/DEPS ('k') | components/cronet/cronet_static.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cronet/android/cronet_histogram_manager.cc
diff --git a/components/cronet/android/cronet_histogram_manager.cc b/components/cronet/android/cronet_histogram_manager.cc
index 8c30bbb6f3a6a174f532475edc13d8d0a6047761..de1989bdef57b5537fe9b7b417712fa17c10eb62 100644
--- a/components/cronet/android/cronet_histogram_manager.cc
+++ b/components/cronet/android/cronet_histogram_manager.cc
@@ -9,7 +9,7 @@
#include "base/android/jni_array.h"
#include "base/metrics/statistics_recorder.h"
-#include "components/metrics/histogram_manager.h"
+#include "components/cronet/histogram_manager.h"
#include "jni/CronetHistogramManager_jni.h"
@@ -26,7 +26,7 @@ static void EnsureInitialized(JNIEnv* env, jobject jcaller) {
static jbyteArray GetHistogramDeltas(JNIEnv* env, jobject jcaller) {
std::vector<uint8> data;
- if (!metrics::HistogramManager::GetInstance()->GetDeltas(&data))
+ if (!HistogramManager::GetInstance()->GetDeltas(&data))
return NULL;
return base::android::ToJavaByteArray(env, &data[0], data.size()).Release();
}
« no previous file with comments | « components/cronet/DEPS ('k') | components/cronet/cronet_static.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698