| 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     WTF_MAKE_NONCOPYABLE(MediaStreamWebAudioSource); | 45     WTF_MAKE_NONCOPYABLE(MediaStreamWebAudioSource); | 
| 46 public: | 46 public: | 
| 47     static PassOwnPtr<MediaStreamWebAudioSource> create(PassOwnPtr<WebAudioSourc
    eProvider> provider) { return adoptPtr(new MediaStreamWebAudioSource(provider));
     } | 47     static PassOwnPtr<MediaStreamWebAudioSource> create(PassOwnPtr<WebAudioSourc
    eProvider> provider) { return adoptPtr(new MediaStreamWebAudioSource(provider));
     } | 
| 48 | 48 | 
| 49     virtual ~MediaStreamWebAudioSource(); | 49     virtual ~MediaStreamWebAudioSource(); | 
| 50 | 50 | 
| 51 private: | 51 private: | 
| 52     explicit MediaStreamWebAudioSource(PassOwnPtr<WebAudioSourceProvider>); | 52     explicit MediaStreamWebAudioSource(PassOwnPtr<WebAudioSourceProvider>); | 
| 53 | 53 | 
| 54     // blink::AudioSourceProvider implementation. | 54     // blink::AudioSourceProvider implementation. | 
| 55     virtual void provideInput(blink::AudioBus*, size_t framesToProcess) OVERRIDE
    ; | 55     virtual void provideInput(blink::AudioBus*, size_t framesToProcess) override
    ; | 
| 56 | 56 | 
| 57     OwnPtr<WebAudioSourceProvider> m_webAudioSourceProvider; | 57     OwnPtr<WebAudioSourceProvider> m_webAudioSourceProvider; | 
| 58 }; | 58 }; | 
| 59 | 59 | 
| 60 } // namespace blink | 60 } // namespace blink | 
| 61 | 61 | 
| 62 #endif // MediaStreamWebAudioSource_h | 62 #endif // MediaStreamWebAudioSource_h | 
| OLD | NEW | 
|---|