OLD | NEW |
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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 #include "components/bookmarks/common/android/component_jni_registrar.h" | 171 #include "components/bookmarks/common/android/component_jni_registrar.h" |
172 #include "components/dom_distiller/android/component_jni_registrar.h" | 172 #include "components/dom_distiller/android/component_jni_registrar.h" |
173 #include "components/gcm_driver/android/component_jni_registrar.h" | 173 #include "components/gcm_driver/android/component_jni_registrar.h" |
174 #include "components/gcm_driver/instance_id/android/component_jni_registrar.h" | 174 #include "components/gcm_driver/instance_id/android/component_jni_registrar.h" |
175 #include "components/invalidation/impl/android/component_jni_registrar.h" | 175 #include "components/invalidation/impl/android/component_jni_registrar.h" |
176 #include "components/navigation_interception/component_jni_registrar.h" | 176 #include "components/navigation_interception/component_jni_registrar.h" |
177 #include "components/ntp_tiles/most_visited_sites.h" | 177 #include "components/ntp_tiles/most_visited_sites.h" |
178 #include "components/policy/core/browser/android/component_jni_registrar.h" | 178 #include "components/policy/core/browser/android/component_jni_registrar.h" |
179 #include "components/safe_json/android/component_jni_registrar.h" | 179 #include "components/safe_json/android/component_jni_registrar.h" |
180 #include "components/signin/core/browser/android/component_jni_registrar.h" | 180 #include "components/signin/core/browser/android/component_jni_registrar.h" |
| 181 #include "components/sync/android/sync_jni_registrar.h" |
181 #include "components/variations/android/component_jni_registrar.h" | 182 #include "components/variations/android/component_jni_registrar.h" |
182 #include "components/variations/android/variations_seed_bridge.h" | 183 #include "components/variations/android/variations_seed_bridge.h" |
183 #include "components/web_contents_delegate_android/component_jni_registrar.h" | 184 #include "components/web_contents_delegate_android/component_jni_registrar.h" |
184 #include "sync/android/sync_jni_registrar.h" | |
185 | 185 |
186 #if defined(ENABLE_PRINTING) && !defined(ENABLE_PRINT_PREVIEW) | 186 #if defined(ENABLE_PRINTING) && !defined(ENABLE_PRINT_PREVIEW) |
187 #include "printing/printing_context_android.h" | 187 #include "printing/printing_context_android.h" |
188 #endif | 188 #endif |
189 | 189 |
190 namespace chrome { | 190 namespace chrome { |
191 namespace android { | 191 namespace android { |
192 | 192 |
193 static base::android::RegistrationMethod kChromeRegisteredMethods[] = { | 193 static base::android::RegistrationMethod kChromeRegisteredMethods[] = { |
194 // Register JNI for components we depend on. | 194 // Register JNI for components we depend on. |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
413 }; | 413 }; |
414 | 414 |
415 bool RegisterBrowserJNI(JNIEnv* env) { | 415 bool RegisterBrowserJNI(JNIEnv* env) { |
416 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); | 416 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); |
417 return RegisterNativeMethods(env, kChromeRegisteredMethods, | 417 return RegisterNativeMethods(env, kChromeRegisteredMethods, |
418 arraysize(kChromeRegisteredMethods)); | 418 arraysize(kChromeRegisteredMethods)); |
419 } | 419 } |
420 | 420 |
421 } // namespace android | 421 } // namespace android |
422 } // namespace chrome | 422 } // namespace chrome |
OLD | NEW |