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

Side by Side Diff: chrome/browser/android/chrome_jni_registrar.cc

Issue 2743763003: [Payments] Format and validate phone number by using libphonenumber (Closed)
Patch Set: formats Created 3 years, 9 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/autofill/android/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/android/chrome_jni_registrar.h" 5 #include "chrome/browser/android/chrome_jni_registrar.h"
6 6
7 #include "base/android/jni_android.h" 7 #include "base/android/jni_android.h"
8 #include "base/android/jni_registrar.h" 8 #include "base/android/jni_registrar.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/trace_event/trace_event.h" 10 #include "base/trace_event/trace_event.h"
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 #include "chrome/browser/android/url_utilities.h" 100 #include "chrome/browser/android/url_utilities.h"
101 #include "chrome/browser/android/voice_search_tab_helper.h" 101 #include "chrome/browser/android/voice_search_tab_helper.h"
102 #include "chrome/browser/android/warmup_manager.h" 102 #include "chrome/browser/android/warmup_manager.h"
103 #include "chrome/browser/android/web_contents_factory.h" 103 #include "chrome/browser/android/web_contents_factory.h"
104 #include "chrome/browser/android/webapk/chrome_webapk_host.h" 104 #include "chrome/browser/android/webapk/chrome_webapk_host.h"
105 #include "chrome/browser/android/webapk/webapk_installer.h" 105 #include "chrome/browser/android/webapk/webapk_installer.h"
106 #include "chrome/browser/android/webapk/webapk_update_data_fetcher.h" 106 #include "chrome/browser/android/webapk/webapk_update_data_fetcher.h"
107 #include "chrome/browser/android/webapk/webapk_update_manager.h" 107 #include "chrome/browser/android/webapk/webapk_update_manager.h"
108 #include "chrome/browser/android/webapps/add_to_homescreen_manager.h" 108 #include "chrome/browser/android/webapps/add_to_homescreen_manager.h"
109 #include "chrome/browser/autofill/android/personal_data_manager_android.h" 109 #include "chrome/browser/autofill/android/personal_data_manager_android.h"
110 #include "chrome/browser/autofill/android/phone_number_util_android.h"
110 #include "chrome/browser/dom_distiller/dom_distiller_service_factory_android.h" 111 #include "chrome/browser/dom_distiller/dom_distiller_service_factory_android.h"
111 #include "chrome/browser/dom_distiller/tab_utils_android.h" 112 #include "chrome/browser/dom_distiller/tab_utils_android.h"
112 #include "chrome/browser/engagement/site_engagement_service_android.h" 113 #include "chrome/browser/engagement/site_engagement_service_android.h"
113 #include "chrome/browser/history/android/sqlite_cursor.h" 114 #include "chrome/browser/history/android/sqlite_cursor.h"
114 #include "chrome/browser/invalidation/invalidation_service_factory_android.h" 115 #include "chrome/browser/invalidation/invalidation_service_factory_android.h"
115 #include "chrome/browser/media/android/cdm/media_drm_credential_manager.h" 116 #include "chrome/browser/media/android/cdm/media_drm_credential_manager.h"
116 #include "chrome/browser/media/android/remote/record_cast_action.h" 117 #include "chrome/browser/media/android/remote/record_cast_action.h"
117 #include "chrome/browser/media/android/remote/remote_media_player_bridge.h" 118 #include "chrome/browser/media/android/remote/remote_media_player_bridge.h"
118 #include "chrome/browser/media/android/router/media_router_android.h" 119 #include "chrome/browser/media/android/router/media_router_android.h"
119 #include "chrome/browser/media/android/router/media_router_dialog_controller_and roid.h" 120 #include "chrome/browser/media/android/router/media_router_dialog_controller_and roid.h"
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 autofill::PasswordGenerationPopupViewAndroid::Register}, 346 autofill::PasswordGenerationPopupViewAndroid::Register},
346 {"PasswordUIViewAndroid", 347 {"PasswordUIViewAndroid",
347 PasswordUIViewAndroid::RegisterPasswordUIViewAndroid}, 348 PasswordUIViewAndroid::RegisterPasswordUIViewAndroid},
348 {"PaymentValidator", RegisterPaymentValidator}, 349 {"PaymentValidator", RegisterPaymentValidator},
349 {"PermissionDialogDelegate", 350 {"PermissionDialogDelegate",
350 PermissionDialogDelegate::RegisterPermissionDialogDelegate}, 351 PermissionDialogDelegate::RegisterPermissionDialogDelegate},
351 {"PermissionUpdateInfoBarDelegate", 352 {"PermissionUpdateInfoBarDelegate",
352 PermissionUpdateInfoBarDelegate::RegisterPermissionUpdateInfoBarDelegate}, 353 PermissionUpdateInfoBarDelegate::RegisterPermissionUpdateInfoBarDelegate},
353 {"PersonalDataManagerAndroid", 354 {"PersonalDataManagerAndroid",
354 autofill::PersonalDataManagerAndroid::Register}, 355 autofill::PersonalDataManagerAndroid::Register},
356 {"PhoneNumberUtil", RegisterPhoneNumberUtil},
355 {"PhysicalWebDataSourceAndroid", 357 {"PhysicalWebDataSourceAndroid",
356 PhysicalWebDataSourceAndroid::RegisterPhysicalWebDataSource}, 358 PhysicalWebDataSourceAndroid::RegisterPhysicalWebDataSource},
357 {"PolicyAuditor", RegisterPolicyAuditor}, 359 {"PolicyAuditor", RegisterPolicyAuditor},
358 {"PrecacheLauncher", RegisterPrecacheLauncher}, 360 {"PrecacheLauncher", RegisterPrecacheLauncher},
359 {"PrefServiceBridge", PrefServiceBridge::RegisterPrefServiceBridge}, 361 {"PrefServiceBridge", PrefServiceBridge::RegisterPrefServiceBridge},
360 {"ProfileAndroid", ProfileAndroid::RegisterProfileAndroid}, 362 {"ProfileAndroid", ProfileAndroid::RegisterProfileAndroid},
361 {"ProfileDownloader", RegisterProfileDownloader}, 363 {"ProfileDownloader", RegisterProfileDownloader},
362 {"ProfileSyncService", ProfileSyncServiceAndroid::Register}, 364 {"ProfileSyncService", ProfileSyncServiceAndroid::Register},
363 {"RapporServiceBridge", rappor::RegisterRapporServiceBridge}, 365 {"RapporServiceBridge", rappor::RegisterRapporServiceBridge},
364 {"RecentlyClosedBridge", RecentlyClosedTabsBridge::Register}, 366 {"RecentlyClosedBridge", RecentlyClosedTabsBridge::Register},
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 #endif 436 #endif
435 }; 437 };
436 438
437 bool RegisterBrowserJNI(JNIEnv* env) { 439 bool RegisterBrowserJNI(JNIEnv* env) {
438 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); 440 TRACE_EVENT0("startup", "chrome_android::RegisterJni");
439 return RegisterNativeMethods(env, kChromeRegisteredMethods, 441 return RegisterNativeMethods(env, kChromeRegisteredMethods,
440 arraysize(kChromeRegisteredMethods)); 442 arraysize(kChromeRegisteredMethods));
441 } 443 }
442 444
443 } // namespace android 445 } // namespace android
OLDNEW
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/autofill/android/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698