Index: chrome/browser/android/ntp/suggestions_event_reporter_bridge.h |
diff --git a/chrome/browser/android/ntp/suggestions_event_reporter_bridge.h b/chrome/browser/android/ntp/suggestions_event_reporter_bridge.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9d441dc0e1a96418b63b6954d25b25e324e7f4fc |
--- /dev/null |
+++ b/chrome/browser/android/ntp/suggestions_event_reporter_bridge.h |
@@ -0,0 +1,16 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_ANDROID_NTP_SUGGESTIONS_EVENT_REPORTER_BRIDGE_H_ |
+#define CHROME_BROWSER_ANDROID_NTP_SUGGESTIONS_EVENT_REPORTER_BRIDGE_H_ |
+ |
+#include <jni.h> |
+ |
+// The C++ counterpart to SuggestionsEventReporterBridge.java. |
+// |
+// It exposes static calls that record metrics and interact with the user |
+// classifier |
+bool RegisterSuggestionsEventReporterBridge(JNIEnv* env); |
+ |
+#endif // CHROME_BROWSER_ANDROID_NTP_SUGGESTIONS_EVENT_REPORTER_BRIDGE_H_ |