| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "content/browser/renderer_host/video_capture_controller_event_handler.h
" |
| 6 |
| 7 VideoCaptureControllerID::VideoCaptureControllerID() |
| 8 :routing_id(0), |
| 9 device_id(0) {} |
| 10 |
| 11 VideoCaptureControllerID::VideoCaptureControllerID(int32 rid, int did) |
| 12 :routing_id(rid), |
| 13 device_id(did) {} |
| 14 |
| 15 VideoCaptureControllerID::~VideoCaptureControllerID() {} |
| 16 |
| 17 bool VideoCaptureControllerID::operator<( |
| 18 const VideoCaptureControllerID& vc) const { |
| 19 return this->routing_id < vc.routing_id && this->device_id < vc.device_id; |
| 20 } |
| OLD | NEW |