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

Unified Diff: third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.h

Issue 1865583002: Implement BaseAudioContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.h
diff --git a/third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.h b/third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.h
index 946e26da4df2bd254f6debdfefc32f4ac1d42a2d..f9fa695d9404874c2211831d17f148f1fd1397ea 100644
--- a/third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.h
+++ b/third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.h
@@ -26,7 +26,7 @@
#define OfflineAudioContext_h
#include "modules/ModulesExport.h"
-#include "modules/webaudio/AbstractAudioContext.h"
+#include "modules/webaudio/BaseAudioContext.h"
#include "wtf/HashMap.h"
namespace blink {
@@ -34,7 +34,7 @@ namespace blink {
class ExceptionState;
class OfflineAudioDestinationHandler;
-class MODULES_EXPORT OfflineAudioContext final : public AbstractAudioContext {
+class MODULES_EXPORT OfflineAudioContext final : public BaseAudioContext {
DEFINE_WRAPPERTYPEINFO();
public:
static OfflineAudioContext* create(ExecutionContext*, unsigned numberOfChannels, unsigned numberOfFrames, float sampleRate, ExceptionState&);
@@ -51,7 +51,7 @@ public:
ScriptPromise suspendContext(ScriptState*, double);
ScriptPromise resumeContext(ScriptState*) final;
- // This is to implement the pure virtual method from AbstractAudioContext.
+ // This is to implement the pure virtual method from BaseAudioContext.
// CANNOT be called from an OfflineAudioContext.
ScriptPromise suspendContext(ScriptState*) final;
@@ -62,7 +62,7 @@ public:
// Fire completion event when the rendering is finished.
void fireCompletionEvent();
- // This is same with the online version in AbstractAudioContext class except
+ // This is same with the online version in BaseAudioContext class except
// for returning a boolean value after checking the scheduled suspends.
bool handlePreOfflineRenderTasks();

Powered by Google App Engine
This is Rietveld 408576698