| Index: media/screen_capture/android/screen_capture_factory_android.h
|
| diff --git a/media/screen_capture/android/screen_capture_factory_android.h b/media/screen_capture/android/screen_capture_factory_android.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..64378e6e1ca79bbe0562607a2bbd31d003ab6a52
|
| --- /dev/null
|
| +++ b/media/screen_capture/android/screen_capture_factory_android.h
|
| @@ -0,0 +1,34 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef MEDIA_SCREEN_CAPTURE_ANDROID_SCREEN_CAPTURE_FACTORY_ANDROID_H_
|
| +#define MEDIA_SCREEN_CAPTURE_ANDROID_SCREEN_CAPTURE_FACTORY_ANDROID_H_
|
| +
|
| +#include <jni.h>
|
| +
|
| +#include "base/android/scoped_java_ref.h"
|
| +#include "base/memory/scoped_ptr.h"
|
| +#include "media/video/capture/video_capture_device.h"
|
| +
|
| +namespace media {
|
| +
|
| +class ScreenCaptureFactoryAndroid {
|
| + public:
|
| + static bool RegisterScreenCaptureFactory(JNIEnv* env);
|
| + static
|
| + base::android::ScopedJavaLocalRef<jobject> createScreenCaptureMachineAndroid(
|
| + jlong nativeScreenCaptureMachineAndroid);
|
| + static scoped_ptr<VideoCaptureDevice> Create();
|
| +
|
| + ScreenCaptureFactoryAndroid() {}
|
| + ~ScreenCaptureFactoryAndroid() {}
|
| +
|
| + private:
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(ScreenCaptureFactoryAndroid);
|
| +};
|
| +
|
| +} // namespace media
|
| +
|
| +#endif // MEDIA_SCREEN_CAPTURE_ANDROID_SCREEN_CAPTURE_FACTORY_ANDROID_H_
|
|
|