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

Side by Side Diff: content/common/gpu/media/v4l2_image_processor.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 #include <errno.h>
5 #include <fcntl.h> 6 #include <fcntl.h>
6 #include <linux/videodev2.h> 7 #include <linux/videodev2.h>
7 #include <poll.h> 8 #include <poll.h>
8 #include <sys/eventfd.h> 9 #include <sys/eventfd.h>
9 #include <sys/ioctl.h> 10 #include <sys/ioctl.h>
10 #include <sys/mman.h> 11 #include <sys/mman.h>
11 12
12 #include "base/bind.h" 13 #include "base/bind.h"
13 #include "base/bind_helpers.h" 14 #include "base/bind_helpers.h"
14 #include "base/callback.h" 15 #include "base/callback.h"
(...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after
717 output_record.at_device = false; 718 output_record.at_device = false;
718 if (!output_record.at_client) 719 if (!output_record.at_client)
719 free_output_buffers_.push_back(i); 720 free_output_buffers_.push_back(i);
720 } 721 }
721 output_buffer_queued_count_ = 0; 722 output_buffer_queued_count_ = 0;
722 723
723 return true; 724 return true;
724 } 725 }
725 726
726 } // namespace content 727 } // namespace content
OLDNEW
« no previous file with comments | « content/common/gpu/media/generic_v4l2_device.cc ('k') | content/common/gpu/media/v4l2_jpeg_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698