1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17

content / public / test / android / render_process_host_utils.cc [blame]

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "base/android/jni_android.h"
#include "content/public/browser/render_process_host.h"

// Must come after all headers that specialize FromJniType() / ToJniType().
#include "content/public/test/android/content_test_jni/RenderProcessHostUtils_jni.h"

namespace content {

jint JNI_RenderProcessHostUtils_GetCurrentRenderProcessCount(JNIEnv* env) {
  return RenderProcessHost::GetCurrentRenderProcessCountForTesting();
}

}  // namespace content