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

Unified Diff: content/browser/renderer_host/video_capture_controller_event_handler.cc

Issue 7101001: move EventHandler out of VideoCaptureController to make VS2005 happy (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: use default constructor Created 9 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/video_capture_controller_event_handler.cc
===================================================================
--- content/browser/renderer_host/video_capture_controller_event_handler.cc (revision 0)
+++ content/browser/renderer_host/video_capture_controller_event_handler.cc (revision 0)
@@ -0,0 +1,20 @@
+// 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()
+ :routing_id(0),
+ device_id(0) {}
+
+VideoCaptureControllerID::VideoCaptureControllerID(int32 rid, int did)
+ :routing_id(rid),
+ device_id(did) {}
+
+VideoCaptureControllerID::~VideoCaptureControllerID() {}
+
+bool VideoCaptureControllerID::operator<(
+ const VideoCaptureControllerID& vc) const {
+ return this->routing_id < vc.routing_id && this->device_id < vc.device_id;
+}
Property changes on: content/browser/renderer_host/video_capture_controller_event_handler.cc
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698