| OLD | NEW |
| (Empty) |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "url/android/url_jni_registrar.h" | |
| 6 #include "url/url_features.h" | |
| 7 | |
| 8 #if BUILDFLAG(USE_PLATFORM_ICU_ALTERNATIVES) | |
| 9 #include "url/url_canon_icu_alternatives_android.h" | |
| 10 #endif | |
| 11 | |
| 12 namespace url { | |
| 13 namespace android { | |
| 14 | |
| 15 bool RegisterJni(JNIEnv* env) { | |
| 16 #if BUILDFLAG(USE_PLATFORM_ICU_ALTERNATIVES) | |
| 17 return RegisterIcuAlternativesJni(env); | |
| 18 #endif | |
| 19 | |
| 20 // Do nothing if USE_PLATFORM_ICU_ALTERNATIVES is false. | |
| 21 return true; | |
| 22 } | |
| 23 | |
| 24 } // namespace android | |
| 25 } // namespace url | |
| OLD | NEW |