| OLD | NEW | 
| (Empty) |  | 
 |   1 // Copyright 2016 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/capture/content/android/screen_capture_jni_registrar.h" | 
 |   6  | 
 |   7 #include "base/android/jni_android.h" | 
 |   8 #include "base/android/jni_registrar.h" | 
 |   9 #include "base/macros.h" | 
 |  10  | 
 |  11 #include "media/capture/content/android/screen_capture_machine_android.h" | 
 |  12  | 
 |  13 namespace media { | 
 |  14  | 
 |  15 static const base::android::RegistrationMethod kCaptureRegisteredMethods[] = { | 
 |  16     {"ScreenCaptureMachine", | 
 |  17      ScreenCaptureMachineAndroid::RegisterScreenCaptureMachine}, | 
 |  18 }; | 
 |  19  | 
 |  20 bool RegisterScreenCaptureJni(JNIEnv* env) { | 
 |  21   return base::android::RegisterNativeMethods( | 
 |  22       env, kCaptureRegisteredMethods, arraysize(kCaptureRegisteredMethods)); | 
 |  23 } | 
 |  24  | 
 |  25 }  // namespace media | 
| OLD | NEW |