Roll src/third_party/WebKit 605a979:06cb9e9 (svn 202556:202558)
[chromium-blink-merge.git] / components / external_video_surface / component_jni_registrar.cc
blob98e90298bc6de47af4935a1f7654b9d7a1d9fef4
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "components/external_video_surface/component_jni_registrar.h"
7 #include "base/android/jni_android.h"
8 #include "base/android/jni_registrar.h"
9 #include "components/external_video_surface/browser/android/external_video_surface_container_impl.h"
11 namespace external_video_surface {
13 static base::android::RegistrationMethod kComponentRegisteredMethods[] = {
14 { "ExternalVideoSurface", ExternalVideoSurfaceContainerImpl::RegisterJni },
17 bool RegisterExternalVideoSurfaceJni(JNIEnv* env) {
18 return RegisterNativeMethods(env,
19 kComponentRegisteredMethods, arraysize(kComponentRegisteredMethods));
22 } // namespace external_video_surface