blob: 0cfd46d86f9f473293415783ddfa9f1bbfdaa434 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Copyright 2015 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 "components/external_video_surface/component_jni_registrar.h"
#include "base/android/jni_android.h"
#include "base/android/jni_registrar.h"
#include "base/macros.h"
#include "components/external_video_surface/browser/android/external_video_surface_container_impl.h"
namespace external_video_surface {
static base::android::RegistrationMethod kComponentRegisteredMethods[] = {
{ "ExternalVideoSurface", ExternalVideoSurfaceContainerImpl::RegisterJni },
};
bool RegisterExternalVideoSurfaceJni(JNIEnv* env) {
return RegisterNativeMethods(env,
kComponentRegisteredMethods, arraysize(kComponentRegisteredMethods));
}
} // namespace external_video_surface
|