Chromium Code Reviews| Index: content/browser/renderer_host/media/video_capture_host.h |
| diff --git a/content/browser/renderer_host/media/video_capture_host.h b/content/browser/renderer_host/media/video_capture_host.h |
| index 4f2f8cd9c58998c3e2a6a0cc90b9e88b3564461e..95c214152f4ff373d66e0891f10289feed94af56 100644 |
| --- a/content/browser/renderer_host/media/video_capture_host.h |
| +++ b/content/browser/renderer_host/media/video_capture_host.h |
| @@ -1,4 +1,4 @@ |
| -// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Copyright 2013 The Chromium Authors. All rights reserved. |
|
tommi (sloooow) - chröme
2013/03/21 14:48:05
don't think we're supposed to change copyright yea
|
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| // |
| @@ -44,6 +44,7 @@ |
| #include "content/common/content_export.h" |
| #include "content/public/browser/browser_message_filter.h" |
| #include "ipc/ipc_message.h" |
| +#include "media/video/video_encode_types.h" |
| namespace content { |
| @@ -137,6 +138,17 @@ class CONTENT_EXPORT VideoCaptureHost |
| // the unit tests can inject their own MediaStreamManager. |
| virtual VideoCaptureManager* GetVideoCaptureManager(); |
| + // Encoded video source message handlers. |
| + void OnCreateBitstream(int device_id, |
| + int stream_id, |
| + media::VideoEncodingParameters params); |
| + void OnBitstreamBufferConsumed(int device_id, int stream_id, int buffer_id); |
| + void OnDestroyBitstream(int device_id, int stream_id); |
| + void OnTryConfigureBitstream(int device_id, |
| + int stream_id, |
| + media::RuntimeVideoEncodingParameters params); |
| + void OnRequestSpecialFrame(int device_id, int stream_id, int flags); |
| + |
| struct Entry; |
| typedef std::map<VideoCaptureControllerID, Entry*> EntryMap; |
| // A map of VideoCaptureControllerID to its state and VideoCaptureController. |