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

Unified Diff: content/common/gpu/media/exynos_v4l2_video_device.h

Issue 700383004: Add use_v4lplugin flag to enable v4l2 library (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add CQ-DEPEND and chromeos==1 condition in gyp Created 6 years, 1 month 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: content/common/gpu/media/exynos_v4l2_video_device.h
diff --git a/content/common/gpu/media/exynos_v4l2_video_device.h b/content/common/gpu/media/exynos_v4l2_video_device.h
index d1498a66e1859f94bb780c089c673263553a71b9..c1bd905517f2121329dbd2cae39e3239fdf05719 100644
--- a/content/common/gpu/media/exynos_v4l2_video_device.h
+++ b/content/common/gpu/media/exynos_v4l2_video_device.h
@@ -52,6 +52,10 @@ class ExynosV4L2Device : public V4L2Device {
int device_poll_interrupt_fd_;
DISALLOW_COPY_AND_ASSIGN(ExynosV4L2Device);
+
+ // Lazily initialize static data after sandbox is enabled. Return false on
+ // init failure.
+ static bool PostSandboxInitialization();
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698