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

Side by Side Diff: content/common/gpu/media/generic_v4l2_device.cc

Issue 1417483018: include what you use: errno.h and string.h in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 5
6 #include <errno.h>
6 #include <fcntl.h> 7 #include <fcntl.h>
7 #include <libdrm/drm_fourcc.h> 8 #include <libdrm/drm_fourcc.h>
8 #include <linux/videodev2.h> 9 #include <linux/videodev2.h>
9 #include <poll.h> 10 #include <poll.h>
10 #include <sys/eventfd.h> 11 #include <sys/eventfd.h>
11 #include <sys/ioctl.h> 12 #include <sys/ioctl.h>
12 #include <sys/mman.h> 13 #include <sys/mman.h>
13 14
14 #include "base/files/scoped_file.h" 15 #include "base/files/scoped_file.h"
15 #include "base/posix/eintr_wrapper.h" 16 #include "base/posix/eintr_wrapper.h"
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 StubPathMap paths; 296 StubPathMap paths;
296 paths[kModuleV4l2].push_back(kV4l2Lib); 297 paths[kModuleV4l2].push_back(kV4l2Lib);
297 298
298 return InitializeStubs(paths); 299 return InitializeStubs(paths);
299 #else 300 #else
300 return true; 301 return true;
301 #endif 302 #endif
302 } 303 }
303 304
304 } // namespace content 305 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/zygote_host/zygote_host_impl_linux.cc ('k') | content/common/gpu/media/v4l2_image_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698