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

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

Issue 8304017: enable video capture to support sharing across multiple renderer processes (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 | 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_controller_event_han dler.h" 5 #include "content/browser/renderer_host/media/video_capture_controller_event_han dler.h"
6 6
7 VideoCaptureControllerID::VideoCaptureControllerID(int did) 7 VideoCaptureControllerID::VideoCaptureControllerID(int did)
8 : device_id(did) { 8 : device_id(did) {
9 } 9 }
10 10
11 bool VideoCaptureControllerID::operator<( 11 bool VideoCaptureControllerID::operator<(
12 const VideoCaptureControllerID& vc) const { 12 const VideoCaptureControllerID& vc) const {
13 return this->device_id < vc.device_id; 13 return this->device_id < vc.device_id;
14 } 14 }
15
16 bool VideoCaptureControllerID::operator==(
17 const VideoCaptureControllerID& vc) const {
18 return this->device_id == vc.device_id;
19 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698