1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
base / profiler / stack_sampling_profiler_java_test_util.h [blame]
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef BASE_PROFILER_STACK_SAMPLING_PROFILER_JAVA_TEST_UTIL_H_
#define BASE_PROFILER_STACK_SAMPLING_PROFILER_JAVA_TEST_UTIL_H_
#include "base/functional/callback_forward.h"
#include "base/profiler/stack_sampling_profiler_test_util.h"
namespace base {
// Wrapper to call |TestSupport.callWithJavaFunction| java function from native.
// Returns address range of InvokeCallbackFunction defined by Native.
FunctionAddressRange callWithJavaFunction(OnceClosure closure);
} // namespace base
#endif // BASE_PROFILER_STACK_SAMPLING_PROFILER_JAVA_TEST_UTIL_H_