Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Side by Side Diff: content/browser/renderer_host/media/video_capture_controller_event_handler.cc

Issue 1017503002: VideoCaptureHost/VideoCaptureControllerEventHandler cleanup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unneeded BindToCurrentLoop() Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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/media/video_capture_controller_event_han dler.h"
6
7 namespace content {
8
9 VideoCaptureControllerID::VideoCaptureControllerID(int did)
10 : device_id(did) {
11 }
12
13 bool VideoCaptureControllerID::operator<(
14 const VideoCaptureControllerID& vc) const {
15 return this->device_id < vc.device_id;
16 }
17
18 bool VideoCaptureControllerID::operator==(
19 const VideoCaptureControllerID& vc) const {
20 return this->device_id == vc.device_id;
21 }
22
23 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698