blob: 7d2d0be32831e7d55de8e8d19dbca087b7d5c4e7 [file] [log] [blame]
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/renderer_host/media/video_capture_controller_event_handler.h"
namespace content {
VideoCaptureControllerID::VideoCaptureControllerID(int did)
: device_id(did) {
}
bool VideoCaptureControllerID::operator<(
const VideoCaptureControllerID& vc) const {
return this->device_id < vc.device_id;
}
bool VideoCaptureControllerID::operator==(
const VideoCaptureControllerID& vc) const {
return this->device_id == vc.device_id;
}
} // namespace content