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

Side by Side Diff: content/renderer/media/video_capture_impl.cc

Issue 16328003: Move a bunch of child-only code from content/common to content/child (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/renderer/media/video_capture_impl.h" 5 #include "content/renderer/media/video_capture_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/stl_util.h" 8 #include "base/stl_util.h"
9 #include "content/common/child_process.h" 9 #include "content/child/child_process.h"
10 #include "content/common/media/video_capture_messages.h" 10 #include "content/common/media/video_capture_messages.h"
11 #include "media/base/limits.h" 11 #include "media/base/limits.h"
12 12
13 namespace content { 13 namespace content {
14 14
15 struct VideoCaptureImpl::DIBBuffer { 15 struct VideoCaptureImpl::DIBBuffer {
16 public: 16 public:
17 DIBBuffer( 17 DIBBuffer(
18 base::SharedMemory* d, 18 base::SharedMemory* d,
19 media::VideoCapture::VideoFrameBuffer* ptr) 19 media::VideoCapture::VideoFrameBuffer* ptr)
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 if (it != clients->end()) { 461 if (it != clients->end()) {
462 handler->OnStopped(this); 462 handler->OnStopped(this);
463 handler->OnRemoved(this); 463 handler->OnRemoved(this);
464 clients->erase(it); 464 clients->erase(it);
465 found = true; 465 found = true;
466 } 466 }
467 return found; 467 return found;
468 } 468 }
469 469
470 } // namespace content 470 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/media/renderer_gpu_video_decoder_factories.cc ('k') | content/renderer/media/video_capture_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698