xref: /aosp_15_r20/external/cronet/components/cronet/android/test/cronet_url_request_test.cc (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1 // Copyright 2018 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 "components/cronet/android/cronet_tests_jni_headers/CronetUrlRequestTest_jni.h"
6 #include "net/base/load_flags.h"
7 
JNI_CronetUrlRequestTest_GetConnectionMigrationDisableLoadFlag(JNIEnv * env)8 static jint JNI_CronetUrlRequestTest_GetConnectionMigrationDisableLoadFlag(
9     JNIEnv* env) {
10   return net::LOAD_DISABLE_CONNECTION_MIGRATION_TO_CELLULAR;
11 }
12