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

Unified Diff: chrome/browser/android/chrome_jni_registrar.cc

Issue 1677073002: Fetch snippets from ChromeReader and show them on the NTP (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 4 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 | « chrome/browser/android/DEPS ('k') | chrome/browser/android/ntp_snippets_bridge.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/chrome_jni_registrar.cc
diff --git a/chrome/browser/android/chrome_jni_registrar.cc b/chrome/browser/android/chrome_jni_registrar.cc
index d52c26bb1fbd7fb51f43441426d37da301751c6e..53305a1079df5f9193eda3bdf950f1bb6e19477b 100644
--- a/chrome/browser/android/chrome_jni_registrar.cc
+++ b/chrome/browser/android/chrome_jni_registrar.cc
@@ -60,6 +60,8 @@
#include "chrome/browser/android/most_visited_sites.h"
#include "chrome/browser/android/net/external_estimate_provider_android.h"
#include "chrome/browser/android/new_tab_page_prefs.h"
+#include "chrome/browser/android/ntp_snippets_bridge.h"
+#include "chrome/browser/android/ntp_snippets_controller.h"
#include "chrome/browser/android/offline_pages/offline_page_bridge.h"
#include "chrome/browser/android/omnibox/answers_image_bridge.h"
#include "chrome/browser/android/omnibox/autocomplete_controller_android.h"
@@ -305,6 +307,8 @@ static base::android::RegistrationMethod kChromeRegisteredMethods[] = {
{"NewTabPagePrefs", NewTabPagePrefs::RegisterNewTabPagePrefs},
{"NotificationUIManager",
NotificationUIManagerAndroid::RegisterNotificationUIManager},
+ {"NTPSnippetsBridge", NTPSnippetsBridge::Register},
+ {"NTPSnippetsController", NTPSnippetsController::Register},
{"OAuth2TokenServiceDelegateAndroid",
OAuth2TokenServiceDelegateAndroid::Register},
{"OfflinePageBridge", offline_pages::android::RegisterOfflinePageBridge},
« no previous file with comments | « chrome/browser/android/DEPS ('k') | chrome/browser/android/ntp_snippets_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698