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

Unified Diff: content/common/gpu/media/generic_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: rebase Created 5 years, 11 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
« no previous file with comments | « content/common/gpu/media/DEPS ('k') | content/common/gpu/media/generic_v4l2_video_device.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/media/generic_v4l2_video_device.h
diff --git a/content/common/gpu/media/generic_v4l2_video_device.h b/content/common/gpu/media/generic_v4l2_video_device.h
index e7560d177a05f51477eac05757c3cac179685abe..d098fe1c030ae9b035313d8a31302799bbaa6ff2 100644
--- a/content/common/gpu/media/generic_v4l2_video_device.h
+++ b/content/common/gpu/media/generic_v4l2_video_device.h
@@ -52,6 +52,10 @@ class GenericV4L2Device : public V4L2Device {
int device_poll_interrupt_fd_;
DISALLOW_COPY_AND_ASSIGN(GenericV4L2Device);
+
+ // Lazily initialize static data after sandbox is enabled. Return false on
+ // init failure.
+ static bool PostSandboxInitialization();
};
} // namespace content
« no previous file with comments | « content/common/gpu/media/DEPS ('k') | content/common/gpu/media/generic_v4l2_video_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698