OLD | NEW |
---|---|
(Empty) | |
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. | |
4 | |
5 #ifndef MEDIA_SCREEN_CAPTURE_ANDROID_SCREEN_CAPTURE_FACTORY_ANDROID_H_ | |
6 #define MEDIA_SCREEN_CAPTURE_ANDROID_SCREEN_CAPTURE_FACTORY_ANDROID_H_ | |
7 | |
8 #include <jni.h> | |
9 | |
10 #include "base/android/scoped_java_ref.h" | |
11 #include "media/screen_capture/android/screen_capturer_android.h" | |
12 | |
13 namespace media { | |
14 | |
15 class ScreenCaptureFactoryAndroid { | |
16 public: | |
17 static bool RegisterScreenCaptureFactory(JNIEnv* env); | |
18 static base::android::ScopedJavaLocalRef<jobject> createScreenCaptureAndroid( | |
19 jlong nativeScreenCaptureDeviceAndroid); | |
20 | |
21 ScreenCaptureFactoryAndroid() {} | |
22 ~ScreenCaptureFactoryAndroid() {} | |
23 | |
24 private: | |
25 | |
26 DISALLOW_COPY_AND_ASSIGN(ScreenCaptureFactoryAndroid);}; | |
27 } // namespace media | |
miu
2015/05/20 03:33:27
nit: Add an extra empty line above this line.
| |
28 | |
29 #endif // MEDIA_SCREEN_CAPTURE_ANDROID_SCREEN_CAPTURE_FACTORY_ANDROID_H_ | |
OLD | NEW |