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.
5 #ifndef BASE_ANDROID_INT_STRING_CALLBACK_H_
6 #define BASE_ANDROID_INT_STRING_CALLBACK_H_
10 #include "base/android/scoped_java_ref.h"
11 #include "base/base_export.h"
16 // Runs the Java |callback| by calling its onResult method and passing the
17 // integer and string as its arguments.
18 void BASE_EXPORT RunIntStringCallbackAndroid(const JavaRef<jobject>& callback,
20 const std::string& str_arg);
22 } // namespace android
25 #endif // BASE_ANDROID_INT_STRING_CALLBACK_H_