OLD | NEW |
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 } |
OLD | NEW |