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/media/video_capture_controller_event_handler.h"
6
7namespace content {
8
9VideoCaptureControllerID::VideoCaptureControllerID(int did)
10    : device_id(did) {
11}
12
13bool VideoCaptureControllerID::operator<(
14    const VideoCaptureControllerID& vc) const {
15  return this->device_id < vc.device_id;
16}
17
18bool VideoCaptureControllerID::operator==(
19    const VideoCaptureControllerID& vc) const {
20  return this->device_id == vc.device_id;
21}
22
23}  // namespace content
24