Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(525)

Unified Diff: media/capture/video/android/video_capture_device_android.h

Issue 2286303003: Video capture Android: enable unittests for Camera2 API (Closed)
Patch Set: Addressing mem leak. Rebase Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/capture/video/android/video_capture_device_android.h
diff --git a/media/capture/video/android/video_capture_device_android.h b/media/capture/video/android/video_capture_device_android.h
index a0796eec803a5d4e99c73865f5f37e6c36203e03..fe61ee6a4d24f77c315a5e5971c0e6506a2f852a 100644
--- a/media/capture/video/android/video_capture_device_android.h
+++ b/media/capture/video/android/video_capture_device_android.h
@@ -100,6 +100,8 @@ class CAPTURE_EXPORT VideoCaptureDeviceAndroid : public VideoCaptureDevice {
jlong callback_id,
const base::android::JavaParamRef<jbyteArray>& data);
+ void ConfigureForTesting();
+
private:
enum InternalState {
kIdle, // The device is opened but not in use.

Powered by Google App Engine
This is Rietveld 408576698