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

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

Issue 2377513002: Add a Physical Web JNI bridge to support native Physical Web clients (Closed)
Patch Set: remove @CalledByNative annotation on unused method Created 4 years, 2 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/BUILD.gn ('k') | chrome/browser/android/physical_web/physical_web_data_source_android.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 d423516867600b1f50ec997e5a067498d4c7fc38..ed902a46b8f12c28100c5f42a8383ed00a586857 100644
--- a/chrome/browser/android/chrome_jni_registrar.cc
+++ b/chrome/browser/android/chrome_jni_registrar.cc
@@ -74,6 +74,7 @@
#include "chrome/browser/android/omnibox/autocomplete_controller_android.h"
#include "chrome/browser/android/omnibox/omnibox_prerender.h"
#include "chrome/browser/android/password_ui_view_android.h"
+#include "chrome/browser/android/physical_web/physical_web_data_source_android.h"
#include "chrome/browser/android/policy/policy_auditor.h"
#include "chrome/browser/android/precache/precache_launcher.h"
#include "chrome/browser/android/preferences/autofill/autofill_profile_bridge.h"
@@ -327,6 +328,8 @@ static base::android::RegistrationMethod kChromeRegisteredMethods[] = {
PermissionUpdateInfoBarDelegate::RegisterPermissionUpdateInfoBarDelegate},
{"PersonalDataManagerAndroid",
autofill::PersonalDataManagerAndroid::Register},
+ {"PhysicalWebDataSourceAndroid",
+ PhysicalWebDataSourceAndroid::RegisterPhysicalWebDataSource},
{"PolicyAuditor", RegisterPolicyAuditor},
{"PrecacheLauncher", RegisterPrecacheLauncher},
{"PrefServiceBridge", PrefServiceBridge::RegisterPrefServiceBridge},
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/android/physical_web/physical_web_data_source_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698