OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 Google Inc. All rights reserved. | 2 * Copyright 2014 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 class WebMediaStreamTrack; | 45 class WebMediaStreamTrack; |
46 } | 46 } |
47 | 47 |
48 namespace blink { | 48 namespace blink { |
49 | 49 |
50 class AudioSourceProvider; | 50 class AudioSourceProvider; |
51 class MediaStreamComponent; | 51 class MediaStreamComponent; |
52 class MediaStreamDescriptor; | 52 class MediaStreamDescriptor; |
53 class MediaStreamTrackSourcesRequest; | 53 class MediaStreamTrackSourcesRequest; |
54 | 54 |
55 class PLATFORM_EXPORT MediaStreamCenter FINAL : public blink::WebMediaStreamCent
erClient { | 55 class PLATFORM_EXPORT MediaStreamCenter final : public blink::WebMediaStreamCent
erClient { |
56 WTF_MAKE_NONCOPYABLE(MediaStreamCenter); | 56 WTF_MAKE_NONCOPYABLE(MediaStreamCenter); |
57 public: | 57 public: |
58 virtual ~MediaStreamCenter(); | 58 virtual ~MediaStreamCenter(); |
59 | 59 |
60 static MediaStreamCenter& instance(); | 60 static MediaStreamCenter& instance(); |
61 | 61 |
62 bool getMediaStreamTrackSources(MediaStreamTrackSourcesRequest*); | 62 bool getMediaStreamTrackSources(MediaStreamTrackSourcesRequest*); |
63 | 63 |
64 void didCreateMediaStreamTrack(MediaStreamComponent*); | 64 void didCreateMediaStreamTrack(MediaStreamComponent*); |
65 void didSetMediaStreamTrackEnabled(MediaStreamComponent*); | 65 void didSetMediaStreamTrackEnabled(MediaStreamComponent*); |
(...skipping 11 matching lines...) Expand all Loading... |
77 | 77 |
78 private: | 78 private: |
79 MediaStreamCenter(); | 79 MediaStreamCenter(); |
80 | 80 |
81 OwnPtr<blink::WebMediaStreamCenter> m_private; | 81 OwnPtr<blink::WebMediaStreamCenter> m_private; |
82 }; | 82 }; |
83 | 83 |
84 } // namespace blink | 84 } // namespace blink |
85 | 85 |
86 #endif // MediaStreamCenter_h | 86 #endif // MediaStreamCenter_h |
OLD | NEW |