| Index: third_party/WebKit/Source/platform/mediastream/MediaStreamComponent.h
|
| diff --git a/third_party/WebKit/Source/platform/mediastream/MediaStreamComponent.h b/third_party/WebKit/Source/platform/mediastream/MediaStreamComponent.h
|
| index 8aa26e9940f202859df502732938a79db3249f37..635bc82eab9a607eed48724db6a4f6af944a7c2e 100644
|
| --- a/third_party/WebKit/Source/platform/mediastream/MediaStreamComponent.h
|
| +++ b/third_party/WebKit/Source/platform/mediastream/MediaStreamComponent.h
|
| @@ -66,6 +66,8 @@ class PLATFORM_EXPORT MediaStreamComponent final
|
| static MediaStreamComponent* create(MediaStreamSource*);
|
| static MediaStreamComponent* create(const String& id, MediaStreamSource*);
|
|
|
| + MediaStreamComponent* clone() const;
|
| +
|
| // |m_trackData| may hold pointers to GC objects indirectly, and it may touch
|
| // eagerly finalized objects in destruction.
|
| // So this class runs pre-finalizer to finalize |m_trackData| promptly.
|
| @@ -93,6 +95,10 @@ class PLATFORM_EXPORT MediaStreamComponent final
|
|
|
| private:
|
| MediaStreamComponent(const String& id, MediaStreamSource*);
|
| + MediaStreamComponent(const String& id,
|
| + MediaStreamSource*,
|
| + bool enabled,
|
| + bool muted);
|
|
|
| // AudioSourceProviderImpl wraps a WebAudioSourceProvider::provideInput()
|
| // calls into chromium to get a rendered audio stream.
|
|
|