Chromium Code Reviews| Index: content/renderer/video_capture_message_filter_creator.cc |
| =================================================================== |
| --- content/renderer/video_capture_message_filter_creator.cc (revision 0) |
| +++ content/renderer/video_capture_message_filter_creator.cc (revision 0) |
| @@ -0,0 +1,26 @@ |
| +// 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/renderer/video_capture_message_filter_creator.h" |
| + |
| +#include "content/renderer/video_capture_message_filter.h" |
| + |
| +VideoCaptureMessageFilterCreator::VideoCaptureMessageFilterCreator() { |
| + filter_ = new VideoCaptureMessageFilter(1); |
|
scherkus (not reviewing)
2011/06/08 18:46:23
sanity checking: what does 1 as a route_id imply?
wjia(left Chromium)
2011/06/08 20:51:53
The route_id is not really needed here. The video
jam
2011/06/21 19:43:08
Hi, this hasn't been done yet as we discussed. Pl
|
| +} |
| + |
| +VideoCaptureMessageFilterCreator::~VideoCaptureMessageFilterCreator() { |
| +} |
| + |
| +// static |
| +VideoCaptureMessageFilter* VideoCaptureMessageFilterCreator::SharedFilter() { |
| + return GetInstance()->filter_.get(); |
| +} |
| + |
| +// static |
| +VideoCaptureMessageFilterCreator* |
| + VideoCaptureMessageFilterCreator::GetInstance() { |
| + return Singleton<VideoCaptureMessageFilterCreator>::get(); |
| +} |
| + |
| Property changes on: content/renderer/video_capture_message_filter_creator.cc |
| ___________________________________________________________________ |
| Added: svn:eol-style |
| + LF |