summaryrefslogtreecommitdiffstats
path: root/content/browser/renderer_host/video_capture_controller_event_handler.cc
blob: e9fcf3f74a991a9073bc175c2adf0c79c5f1d2ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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/video_capture_controller_event_handler.h"

VideoCaptureControllerID::VideoCaptureControllerID(int32 rid, int did)
    : routing_id(rid),
      device_id(did) {
}

bool VideoCaptureControllerID::operator<(
    const VideoCaptureControllerID& vc) const {
  return this->routing_id < vc.routing_id && this->device_id < vc.device_id;
}