1 // Copyright 2019 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.
5 #ifndef BASE_PROFILER_STACK_SAMPLING_PROFILER_JAVA_TEST_UTIL_H_
6 #define BASE_PROFILER_STACK_SAMPLING_PROFILER_JAVA_TEST_UTIL_H_
8 #include "base/functional/callback_forward.h"
9 #include "base/profiler/stack_sampling_profiler_test_util.h"
13 // Wrapper to call |TestSupport.callWithJavaFunction| java function from native.
14 // Returns address range of InvokeCallbackFunction defined by Native.
15 FunctionAddressRange callWithJavaFunction(OnceClosure closure);
19 #endif // BASE_PROFILER_STACK_SAMPLING_PROFILER_JAVA_TEST_UTIL_H_