summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authorscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-02 01:03:17 +0000
committerscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-02 01:03:17 +0000
commit164a3d27e68e8ac6dfe0df99e422770da98c6ef2 (patch)
treebd3eb17279ee04c2bba15073a4a77a4569596010 /content
parentbcabd0b1dafba015347990e52a8019e55ad72b6e (diff)
downloadchromium_src-164a3d27e68e8ac6dfe0df99e422770da98c6ef2.zip
chromium_src-164a3d27e68e8ac6dfe0df99e422770da98c6ef2.tar.gz
chromium_src-164a3d27e68e8ac6dfe0df99e422770da98c6ef2.tar.bz2
Fix some style issues with VideoCaptureControllerID.
BUG=none TEST=none Review URL: http://codereview.chromium.org/7104030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87566 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r--content/browser/renderer_host/video_capture_controller_event_handler.cc11
-rw-r--r--content/browser/renderer_host/video_capture_controller_event_handler.h6
2 files changed, 5 insertions, 12 deletions
diff --git a/content/browser/renderer_host/video_capture_controller_event_handler.cc b/content/browser/renderer_host/video_capture_controller_event_handler.cc
index ca6e348..e9fcf3f 100644
--- a/content/browser/renderer_host/video_capture_controller_event_handler.cc
+++ b/content/browser/renderer_host/video_capture_controller_event_handler.cc
@@ -4,15 +4,10 @@
#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() {}
+ : routing_id(rid),
+ device_id(did) {
+}
bool VideoCaptureControllerID::operator<(
const VideoCaptureControllerID& vc) const {
diff --git a/content/browser/renderer_host/video_capture_controller_event_handler.h b/content/browser/renderer_host/video_capture_controller_event_handler.h
index 74f4d24..0467941 100644
--- a/content/browser/renderer_host/video_capture_controller_event_handler.h
+++ b/content/browser/renderer_host/video_capture_controller_event_handler.h
@@ -12,10 +12,8 @@
// ID used for identifying an object of VideoCaptureController.
struct VideoCaptureControllerID {
- public:
- VideoCaptureControllerID();
- VideoCaptureControllerID(int32 rid, int did);
- ~VideoCaptureControllerID();
+ VideoCaptureControllerID(int32 routing_id, int device_id);
+
bool operator<(const VideoCaptureControllerID& vc) const;
int32 routing_id;