Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2012 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. | |
| 4 | |
| 5 #include "media/base/android/media_jni_registrar.h" | |
| 6 | |
| 7 #include "base/basictypes.h" | |
| 8 #include "base/android/jni_android.h" | |
| 9 #include "base/android/jni_registrar.h" | |
| 10 | |
| 11 #include "media/base/android/media_player_bridge.h" | |
| 12 | |
| 13 namespace media { | |
| 14 | |
| 15 static base::android::RegistrationMethod kMediaRegisteredMethods[] = { | |
| 16 { "MediaPlayerListener", | |
| 17 MediaPlayerBridge::RegisterMediaPlayerListener }, | |
|
Ami GONE FROM CHROMIUM
2012/04/24 19:44:55
Is there a design doc (or any description of the o
Ted C
2012/04/24 22:28:10
The idea is to limit the knowledge the library loa
| |
| 18 }; | |
| 19 | |
| 20 bool RegisterJni(JNIEnv* env) { | |
| 21 return base::android::RegisterNativeMethods( | |
| 22 env, kMediaRegisteredMethods, arraysize(kMediaRegisteredMethods)); | |
| 23 } | |
| 24 | |
| 25 } // namespace media | |
| OLD | NEW |