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

Unified Diff: chrome/browser/android/ntp/suggestions_event_reporter_bridge.h

Issue 2844033002: 📰 Move metrics and scheduling events out of SnippetsBridge (Closed)
Patch Set: rebase, address comment Created 3 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
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_
« no previous file with comments | « chrome/browser/android/ntp/ntp_snippets_bridge.cc ('k') | chrome/browser/android/ntp/suggestions_event_reporter_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698