| 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 28 matching lines...) Expand all Loading... |
| 39 #include "wtf/text/WTFString.h" | 39 #include "wtf/text/WTFString.h" |
| 40 #include <memory> | 40 #include <memory> |
| 41 | 41 |
| 42 namespace blink { | 42 namespace blink { |
| 43 | 43 |
| 44 class AudioSourceProvider; | 44 class AudioSourceProvider; |
| 45 class MediaStreamComponent; | 45 class MediaStreamComponent; |
| 46 class MediaStreamDescriptor; | 46 class MediaStreamDescriptor; |
| 47 class WebMediaStream; | 47 class WebMediaStream; |
| 48 class WebMediaStreamCenter; | 48 class WebMediaStreamCenter; |
| 49 class WebMediaStreamTrack; | |
| 50 | 49 |
| 51 class PLATFORM_EXPORT MediaStreamCenter final | 50 class PLATFORM_EXPORT MediaStreamCenter final |
| 52 : public WebMediaStreamCenterClient { | 51 : public WebMediaStreamCenterClient { |
| 53 USING_FAST_MALLOC(MediaStreamCenter); | 52 USING_FAST_MALLOC(MediaStreamCenter); |
| 54 WTF_MAKE_NONCOPYABLE(MediaStreamCenter); | 53 WTF_MAKE_NONCOPYABLE(MediaStreamCenter); |
| 55 | 54 |
| 56 public: | 55 public: |
| 57 ~MediaStreamCenter() override; | 56 ~MediaStreamCenter() override; |
| 58 | 57 |
| 59 static MediaStreamCenter& instance(); | 58 static MediaStreamCenter& instance(); |
| (...skipping 15 matching lines...) Expand all Loading... |
| 75 | 74 |
| 76 private: | 75 private: |
| 77 MediaStreamCenter(); | 76 MediaStreamCenter(); |
| 78 | 77 |
| 79 std::unique_ptr<WebMediaStreamCenter> m_private; | 78 std::unique_ptr<WebMediaStreamCenter> m_private; |
| 80 }; | 79 }; |
| 81 | 80 |
| 82 } // namespace blink | 81 } // namespace blink |
| 83 | 82 |
| 84 #endif // MediaStreamCenter_h | 83 #endif // MediaStreamCenter_h |
| OLD | NEW |