xref: /aosp_15_r20/external/cronet/base/android/feature_list_jni.cc (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1 // Copyright 2020 The Chromium Authors
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 "base/base_jni/FeatureList_jni.h"
6 #include "base/feature_list.h"
7 
8 namespace base {
9 namespace android {
10 
JNI_FeatureList_IsInitialized(JNIEnv * env)11 static jboolean JNI_FeatureList_IsInitialized(JNIEnv* env) {
12   return !!base::FeatureList::GetInstance();
13 }
14 
15 }  // namespace android
16 }  // namespace base
17