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

Unified Diff: components/cronet/android/cronet_histogram_manager.cc

Issue 904033004: [Cronet] Make HistogramManager an abstract class to break dependency on native library. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Helen's comments. Created 5 years, 10 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/android/cronet_histogram_manager.h ('k') | components/cronet/android/cronet_loader.cc » ('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/histogram_manager.cc b/components/cronet/android/cronet_histogram_manager.cc
similarity index 83%
rename from components/cronet/android/histogram_manager.cc
rename to components/cronet/android/cronet_histogram_manager.cc
index 4db69601387a2bfd5cbe18fefeef01c5b544bb98..8c30bbb6f3a6a174f532475edc13d8d0a6047761 100644
--- a/components/cronet/android/histogram_manager.cc
+++ b/components/cronet/android/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/cronet/android/histogram_manager.h"
+#include "components/cronet/android/cronet_histogram_manager.h"
#include <string>
#include <vector>
@@ -11,12 +11,12 @@
#include "base/metrics/statistics_recorder.h"
#include "components/metrics/histogram_manager.h"
-#include "jni/HistogramManager_jni.h"
+#include "jni/CronetHistogramManager_jni.h"
namespace cronet {
// Explicitly register static JNI functions.
-bool HistogramManagerRegisterJni(JNIEnv* env) {
+bool CronetHistogramManagerRegisterJni(JNIEnv* env) {
return RegisterNativesImpl(env);
}
« no previous file with comments | « components/cronet/android/cronet_histogram_manager.h ('k') | components/cronet/android/cronet_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698