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

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

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: 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
Index: components/cronet/android/cronet_histogram_manager.h
diff --git a/components/cronet/android/cronet_histogram_manager.h b/components/cronet/android/cronet_histogram_manager.h
new file mode 100644
index 0000000000000000000000000000000000000000..b560b99f408b75bde0d8b877ba973bbcd844f0a0
--- /dev/null
+++ b/components/cronet/android/cronet_histogram_manager.h
@@ -0,0 +1,16 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
xunjieli 2015/02/06 19:05:01 nit: 2015?
mef 2015/02/06 19:28:55 Done.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef COMPONENTS_CRONET_ANDROID_CRONET_CRONET_HISTOGRAM_MANAGER_H_
xunjieli 2015/02/06 19:05:01 s/COMPONENTS_CRONET_ANDROID_CRONET_CRONET_HISTOGRA
mef 2015/02/06 19:28:55 Hmm, it means that previously guard didn't match t
+#define COMPONENTS_CRONET_ANDROID_CRONET_CRONET_HISTOGRAM_MANAGER_H_
+
+#include <jni.h>
+
+namespace cronet {
+
+bool CronetHistogramManagerRegisterJni(JNIEnv* env);
+
+} // namespace cronet
+
+#endif // COMPONENTS_CRONET_ANDROID_CRONET_CRONET_HISTOGRAM_MANAGER_H_

Powered by Google App Engine
This is Rietveld 408576698