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

Side by Side Diff: url/android/url_jni_registrar.cc

Issue 2215863002: Fix cronet build after JNI registration change. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 | « url/android/url_jni_registrar.h ('k') | url/url.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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
OLDNEW
« no previous file with comments | « url/android/url_jni_registrar.h ('k') | url/url.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698