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

Unified Diff: Source/modules/webmidi/MIDIAccessPromise.h

Issue 17619003: Fulfill or reject MIDIAccessPromise from MIDIAccessor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: move layout test from fast/webmidi to webmidi Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/webmidi/MIDIAccess.cpp ('k') | Source/modules/webmidi/MIDIAccessPromise.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webmidi/MIDIAccessPromise.h
diff --git a/Source/modules/webmidi/MIDIAccessPromise.h b/Source/modules/webmidi/MIDIAccessPromise.h
index 9cab971dc3d9bdb39e6b3176eb8c8b64c683ed68..6de3f70e7133939f1a98ab70fbe24bfb9fbffae4 100644
--- a/Source/modules/webmidi/MIDIAccessPromise.h
+++ b/Source/modules/webmidi/MIDIAccessPromise.h
@@ -58,8 +58,10 @@ public:
// ActiveDOMObject
virtual bool canSuspend() const OVERRIDE { return true; }
+ MIDIOptions* options() { return m_options.get(); }
+
void fulfill();
- void reject(DOMError*);
+ void reject(PassRefPtr<DOMError>);
private:
enum State {
« no previous file with comments | « Source/modules/webmidi/MIDIAccess.cpp ('k') | Source/modules/webmidi/MIDIAccessPromise.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698