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

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

Issue 2542203002: [Android History] Add Android history manager UI and bridge (Closed)
Patch Set: Change parameter declaration order Created 4 years 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
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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 #include "chrome/browser/android/download/chrome_download_delegate.h" 46 #include "chrome/browser/android/download/chrome_download_delegate.h"
47 #include "chrome/browser/android/download/download_controller.h" 47 #include "chrome/browser/android/download/download_controller.h"
48 #include "chrome/browser/android/download/download_manager_service.h" 48 #include "chrome/browser/android/download/download_manager_service.h"
49 #include "chrome/browser/android/download/ui/thumbnail_provider.h" 49 #include "chrome/browser/android/download/ui/thumbnail_provider.h"
50 #include "chrome/browser/android/favicon_helper.h" 50 #include "chrome/browser/android/favicon_helper.h"
51 #include "chrome/browser/android/feature_utilities.h" 51 #include "chrome/browser/android/feature_utilities.h"
52 #include "chrome/browser/android/feedback/connectivity_checker.h" 52 #include "chrome/browser/android/feedback/connectivity_checker.h"
53 #include "chrome/browser/android/feedback/screenshot_task.h" 53 #include "chrome/browser/android/feedback/screenshot_task.h"
54 #include "chrome/browser/android/find_in_page/find_in_page_bridge.h" 54 #include "chrome/browser/android/find_in_page/find_in_page_bridge.h"
55 #include "chrome/browser/android/foreign_session_helper.h" 55 #include "chrome/browser/android/foreign_session_helper.h"
56 #include "chrome/browser/android/history/browsing_history_bridge.h"
56 #include "chrome/browser/android/history_report/history_report_jni_bridge.h" 57 #include "chrome/browser/android/history_report/history_report_jni_bridge.h"
57 #include "chrome/browser/android/instantapps/instant_apps_infobar_delegate.h" 58 #include "chrome/browser/android/instantapps/instant_apps_infobar_delegate.h"
58 #include "chrome/browser/android/instantapps/instant_apps_settings.h" 59 #include "chrome/browser/android/instantapps/instant_apps_settings.h"
59 #include "chrome/browser/android/java_exception_reporter.h" 60 #include "chrome/browser/android/java_exception_reporter.h"
60 #include "chrome/browser/android/large_icon_bridge.h" 61 #include "chrome/browser/android/large_icon_bridge.h"
61 #include "chrome/browser/android/locale/special_locale_handler.h" 62 #include "chrome/browser/android/locale/special_locale_handler.h"
62 #include "chrome/browser/android/logo_bridge.h" 63 #include "chrome/browser/android/logo_bridge.h"
63 #include "chrome/browser/android/metrics/launch_metrics.h" 64 #include "chrome/browser/android/metrics/launch_metrics.h"
64 #include "chrome/browser/android/metrics/uma_session_stats.h" 65 #include "chrome/browser/android/metrics/uma_session_stats.h"
65 #include "chrome/browser/android/metrics/uma_utils.h" 66 #include "chrome/browser/android/metrics/uma_utils.h"
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 {"AutofillPopup", 231 {"AutofillPopup",
231 autofill::AutofillPopupViewAndroid::RegisterAutofillPopupViewAndroid}, 232 autofill::AutofillPopupViewAndroid::RegisterAutofillPopupViewAndroid},
232 {"AutofillProfileBridge", autofill::RegisterAutofillProfileBridge}, 233 {"AutofillProfileBridge", autofill::RegisterAutofillProfileBridge},
233 {"BackgroundSchedulerBridge", 234 {"BackgroundSchedulerBridge",
234 offline_pages::android::RegisterBackgroundSchedulerBridge}, 235 offline_pages::android::RegisterBackgroundSchedulerBridge},
235 {"BlimpClientContextFactory", RegisterBlimpClientContextFactoryJni}, 236 {"BlimpClientContextFactory", RegisterBlimpClientContextFactoryJni},
236 {"Blimp", blimp::client::RegisterBlimpJni}, 237 {"Blimp", blimp::client::RegisterBlimpJni},
237 {"BluetoothChooserAndroid", BluetoothChooserAndroid::Register}, 238 {"BluetoothChooserAndroid", BluetoothChooserAndroid::Register},
238 {"BookmarkBridge", BookmarkBridge::RegisterBookmarkBridge}, 239 {"BookmarkBridge", BookmarkBridge::RegisterBookmarkBridge},
239 {"BrowsingDataCounterBridge", BrowsingDataCounterBridge::Register}, 240 {"BrowsingDataCounterBridge", BrowsingDataCounterBridge::Register},
241 {"BrowsingHistoryBridge", RegisterBrowsingHistoryBridge},
240 {"CardUnmaskPrompt", autofill::CardUnmaskPromptViewAndroid::Register}, 242 {"CardUnmaskPrompt", autofill::CardUnmaskPromptViewAndroid::Register},
241 {"CertificateViewer", RegisterCertificateViewer}, 243 {"CertificateViewer", RegisterCertificateViewer},
242 {"ChildAccountService", RegisterChildAccountService}, 244 {"ChildAccountService", RegisterChildAccountService},
243 {"ChromeApplication", chrome::android::ChromeApplication::RegisterBindings}, 245 {"ChromeApplication", chrome::android::ChromeApplication::RegisterBindings},
244 {"ChromeBackupAgent", chrome::android::RegisterBackupAgent}, 246 {"ChromeBackupAgent", chrome::android::RegisterBackupAgent},
245 {"ChromeBlimpClientContextDelegate", 247 {"ChromeBlimpClientContextDelegate",
246 ChromeBlimpClientContextDelegateAndroid::RegisterJni}, 248 ChromeBlimpClientContextDelegateAndroid::RegisterJni},
247 {"ChromeBrowserProvider", 249 {"ChromeBrowserProvider",
248 ChromeBrowserProvider::RegisterChromeBrowserProvider}, 250 ChromeBrowserProvider::RegisterChromeBrowserProvider},
249 {"ChromeFeatureList", chrome::android::RegisterChromeFeatureListJni}, 251 {"ChromeFeatureList", chrome::android::RegisterChromeFeatureListJni},
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 #endif 426 #endif
425 }; 427 };
426 428
427 bool RegisterBrowserJNI(JNIEnv* env) { 429 bool RegisterBrowserJNI(JNIEnv* env) {
428 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); 430 TRACE_EVENT0("startup", "chrome_android::RegisterJni");
429 return RegisterNativeMethods(env, kChromeRegisteredMethods, 431 return RegisterNativeMethods(env, kChromeRegisteredMethods,
430 arraysize(kChromeRegisteredMethods)); 432 arraysize(kChromeRegisteredMethods));
431 } 433 }
432 434
433 } // namespace android 435 } // namespace android
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698