| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2011 Ericsson AB. All rights reserved. | 3 * Copyright (C) 2011 Ericsson AB. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 | 91 |
| 92 private: | 92 private: |
| 93 MediaStreamTrack(ExecutionContext*, MediaStreamComponent*); | 93 MediaStreamTrack(ExecutionContext*, MediaStreamComponent*); |
| 94 | 94 |
| 95 // MediaStreamSourceObserver | 95 // MediaStreamSourceObserver |
| 96 virtual void sourceChangedState() override; | 96 virtual void sourceChangedState() override; |
| 97 | 97 |
| 98 void propagateTrackEnded(); | 98 void propagateTrackEnded(); |
| 99 | 99 |
| 100 MediaStreamSource::ReadyState m_readyState; | 100 MediaStreamSource::ReadyState m_readyState; |
| 101 HeapHashSet<Member<MediaStream> > m_registeredMediaStreams; | 101 HeapHashSet<Member<MediaStream>> m_registeredMediaStreams; |
| 102 bool m_isIteratingRegisteredMediaStreams; | 102 bool m_isIteratingRegisteredMediaStreams; |
| 103 bool m_stopped; | 103 bool m_stopped; |
| 104 RefPtr<MediaStreamComponent> m_component; | 104 RefPtr<MediaStreamComponent> m_component; |
| 105 }; | 105 }; |
| 106 | 106 |
| 107 typedef HeapVector<Member<MediaStreamTrack> > MediaStreamTrackVector; | 107 typedef HeapVector<Member<MediaStreamTrack>> MediaStreamTrackVector; |
| 108 | 108 |
| 109 } // namespace blink | 109 } // namespace blink |
| 110 | 110 |
| 111 #endif // MediaStreamTrack_h | 111 #endif // MediaStreamTrack_h |
| OLD | NEW |