Revert of FFmpeg roll for M43. (patchset #2 id:20001 of https://codereview.chromium...
[chromium-blink-merge.git] / url / android / url_jni_registrar.cc
blob82a6e1b76bd699624c8b7296382668c4cc46abaa
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.
5 #include "url/android/url_jni_registrar.h"
7 #ifdef USE_ICU_ALTERNATIVES_ON_ANDROID
8 #include "url/url_canon_icu_alternatives_android.h"
9 #endif
11 namespace url {
12 namespace android {
14 bool RegisterJni(JNIEnv* env) {
15 #ifdef USE_ICU_ALTERNATIVES_ON_ANDROID
16 return RegisterIcuAlternativesJni(env);
17 #endif
19 // Do nothing if USE_ICU_ALTERNATIVES_ON_ANDROID is not defined.
20 return true;
23 } // namespace android
24 } // namespace url