blob: c0cabeeaf1f46b8c68804125fe61f52a9cd12c8d [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <string>
#include "base/android/scoped_java_ref.h"
#include "base/base_export.h"
namespace base {
namespace android {
// Runs the Java |callback| by calling its onResult method and passing the
// integer and string as its arguments.
void BASE_EXPORT RunIntStringCallbackAndroid(const JavaRef<jobject>& callback,
int int_arg,
const std::string& str_arg);
} // namespace android
} // namespace base