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

Side by Side Diff: content/browser/renderer_host/media/video_capture_host.cc

Issue 7342047: Cleanup base/stl_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed unneeded include + rebase Created 9 years, 5 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/browser/renderer_host/media/video_capture_host.h" 5 #include "content/browser/renderer_host/media/video_capture_host.h"
6 6
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "base/stl_util-inl.h" 8 #include "base/stl_util.h"
9 #include "content/common/media/video_capture_messages.h" 9 #include "content/common/media/video_capture_messages.h"
10 10
11 VideoCaptureHost::VideoCaptureHost() {} 11 VideoCaptureHost::VideoCaptureHost() {}
12 12
13 VideoCaptureHost::~VideoCaptureHost() {} 13 VideoCaptureHost::~VideoCaptureHost() {}
14 14
15 void VideoCaptureHost::OnChannelClosing() { 15 void VideoCaptureHost::OnChannelClosing() {
16 BrowserMessageFilter::OnChannelClosing(); 16 BrowserMessageFilter::OnChannelClosing();
17 17
18 // Since the IPC channel is gone, close all requested VideCaptureDevices. 18 // Since the IPC channel is gone, close all requested VideCaptureDevices.
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 187
188 void VideoCaptureHost::DoDeleteVideoCaptureController( 188 void VideoCaptureHost::DoDeleteVideoCaptureController(
189 const VideoCaptureControllerID& id) { 189 const VideoCaptureControllerID& id) {
190 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); 190 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
191 191
192 // Report that the device have successfully been stopped. 192 // Report that the device have successfully been stopped.
193 Send(new VideoCaptureMsg_StateChanged(id.device_id, 193 Send(new VideoCaptureMsg_StateChanged(id.device_id,
194 media::VideoCapture::kStopped)); 194 media::VideoCapture::kStopped));
195 entries_.erase(id); 195 entries_.erase(id);
196 } 196 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698