Fix emulator build error
[platform/framework/web/chromium-efl.git] / base / profiler / stack_sampling_profiler_java_test_util.h
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.
4
5 #ifndef BASE_PROFILER_STACK_SAMPLING_PROFILER_JAVA_TEST_UTIL_H_
6 #define BASE_PROFILER_STACK_SAMPLING_PROFILER_JAVA_TEST_UTIL_H_
7
8 #include "base/functional/callback_forward.h"
9 #include "base/profiler/stack_sampling_profiler_test_util.h"
10
11 namespace base {
12
13 // Wrapper to call |TestSupport.callWithJavaFunction| java function from native.
14 // Returns address range of InvokeCallbackFunction defined by Native.
15 FunctionAddressRange callWithJavaFunction(OnceClosure closure);
16
17 }  // namespace base
18
19 #endif  // BASE_PROFILER_STACK_SAMPLING_PROFILER_JAVA_TEST_UTIL_H_