blob: 20b62822d426a078df8d04393e6803ee49532077 [file] [log] [blame]
// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/socket/socket_test_util.h"
// Must come after all headers that specialize FromJniType() / ToJniType().
#include "android_webview/test/webview_instrumentation_test_native_jni/TrafficStatsTestUtil_jni.h"
namespace android_webview {
static bool JNI_TrafficStatsTestUtil_CanGetTaggedBytes(JNIEnv* env) {
return net::CanGetTaggedBytes();
}
static int64_t JNI_TrafficStatsTestUtil_GetTaggedBytes(JNIEnv* env,
int32_t jexpected_tag) {
return net::GetTaggedBytes(jexpected_tag);
}
} // namespace android_webview
DEFINE_JNI(TrafficStatsTestUtil)