Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(428)

Side by Side Diff: Source/platform/mediastream/MediaStreamComponent.h

Issue 343763002: Add PLATFORM_EXPORT to MediaStreamComponent::AudioSourceProviderImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Ericsson AB. All rights reserved. 2 * Copyright (C) 2011 Ericsson AB. All rights reserved.
3 * Copyright (C) 2013 Google Inc. All rights reserved. 3 * Copyright (C) 2013 Google Inc. 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 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 ExtraData* extraData() const { return m_extraData.get(); } 72 ExtraData* extraData() const { return m_extraData.get(); }
73 void setExtraData(PassOwnPtr<ExtraData> extraData) { m_extraData = extraData ; } 73 void setExtraData(PassOwnPtr<ExtraData> extraData) { m_extraData = extraData ; }
74 74
75 private: 75 private:
76 MediaStreamComponent(const String& id, PassRefPtr<MediaStreamSource>); 76 MediaStreamComponent(const String& id, PassRefPtr<MediaStreamSource>);
77 77
78 #if ENABLE(WEB_AUDIO) 78 #if ENABLE(WEB_AUDIO)
79 // AudioSourceProviderImpl wraps a WebAudioSourceProvider::provideInput() 79 // AudioSourceProviderImpl wraps a WebAudioSourceProvider::provideInput()
80 // calls into chromium to get a rendered audio stream. 80 // calls into chromium to get a rendered audio stream.
81 81
82 class AudioSourceProviderImpl FINAL: public AudioSourceProvider { 82 class PLATFORM_EXPORT AudioSourceProviderImpl FINAL: public AudioSourceProvi der {
83 public: 83 public:
84 AudioSourceProviderImpl() 84 AudioSourceProviderImpl()
Nico 2014/06/18 20:49:53 Isn't this a ctor?
85 : m_webAudioSourceProvider(0) 85 : m_webAudioSourceProvider(0)
86 { 86 {
87 } 87 }
88 88
89 virtual ~AudioSourceProviderImpl() { } 89 virtual ~AudioSourceProviderImpl() { }
90 90
91 // Wraps the given blink::WebAudioSourceProvider to WebCore::AudioSource Provider. 91 // Wraps the given blink::WebAudioSourceProvider to WebCore::AudioSource Provider.
92 void wrap(blink::WebAudioSourceProvider*); 92 void wrap(blink::WebAudioSourceProvider*);
93 93
94 // WebCore::AudioSourceProvider 94 // WebCore::AudioSourceProvider
(...skipping 11 matching lines...) Expand all
106 String m_id; 106 String m_id;
107 bool m_enabled; 107 bool m_enabled;
108 OwnPtr<ExtraData> m_extraData; 108 OwnPtr<ExtraData> m_extraData;
109 }; 109 };
110 110
111 typedef Vector<RefPtr<MediaStreamComponent> > MediaStreamComponentVector; 111 typedef Vector<RefPtr<MediaStreamComponent> > MediaStreamComponentVector;
112 112
113 } // namespace WebCore 113 } // namespace WebCore
114 114
115 #endif // MediaStreamComponent_h 115 #endif // MediaStreamComponent_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698