Add "override" to ParamDeserializer::SerializeOutputParameters
[chromium-blink-merge.git] / chromecast / android / cast_jni_registrar.cc
blobda2f021f15145ead63424128ef9a78ecb0f16f17
1 // Copyright 2014 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 "chromecast/android/cast_jni_registrar.h"
7 #include "base/android/jni_android.h"
8 #include "base/android/jni_registrar.h"
9 #include "chromecast/browser/android/cast_window_android.h"
10 #include "chromecast/browser/android/cast_window_manager.h"
11 #include "chromecast/browser/android/external_video_surface_container_impl.h"
12 #include "chromecast/crash/android/crash_handler.h"
14 namespace chromecast {
15 namespace android {
17 namespace {
19 static base::android::RegistrationMethod kMethods[] = {
20 { "CastWindowAndroid", shell::CastWindowAndroid::RegisterJni },
21 { "CastWindowManager", shell::RegisterCastWindowManager },
22 { "CrashHandler", CrashHandler::RegisterCastCrashJni },
23 { "ExternalVideoSurfaceContainer",
24 shell::RegisterExternalVideoSurfaceContainer },
27 } // namespace
29 bool RegisterJni(JNIEnv* env) {
30 return RegisterNativeMethods(env, kMethods, arraysize(kMethods));
33 } // namespace android
34 } // namespace chromecast