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

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

Issue 7222024: use control message instead of routed for video capture (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 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) 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(int32 rid, int did) 7 VideoCaptureControllerID::VideoCaptureControllerID(int did)
8 : routing_id(rid), 8 : device_id(did) {
9 device_id(did) {
10 } 9 }
11 10
12 bool VideoCaptureControllerID::operator<( 11 bool VideoCaptureControllerID::operator<(
13 const VideoCaptureControllerID& vc) const { 12 const VideoCaptureControllerID& vc) const {
14 return this->routing_id < vc.routing_id || this->device_id < vc.device_id; 13 return this->device_id < vc.device_id;
15 } 14 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698