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

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

Issue 16288002: Web MIDI API (work in progress) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: minor compile fix 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/MIDIMessageEvent.idl ('k') | Source/modules/webmidi/MIDISuccessCallback.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webmidi/MIDISuccessCallback.h
diff --git a/Source/modules/quota/StorageQuotaCallback.h b/Source/modules/webmidi/MIDISuccessCallback.h
similarity index 85%
copy from Source/modules/quota/StorageQuotaCallback.h
copy to Source/modules/webmidi/MIDISuccessCallback.h
index d281f4965552fc182b255a23931913f3b5a3d6b4..869d8cfa936dd270971947325e4d3bb16bf55551 100644
--- a/Source/modules/quota/StorageQuotaCallback.h
+++ b/Source/modules/webmidi/MIDISuccessCallback.h
@@ -28,19 +28,21 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef StorageQuotaCallback_h
-#define StorageQuotaCallback_h
+#ifndef MIDISuccessCallback_h
+#define MIDISuccessCallback_h
#include "wtf/RefCounted.h"
namespace WebCore {
-class StorageQuotaCallback : public RefCounted<StorageQuotaCallback> {
+class MIDIAccess;
+
+class MIDISuccessCallback : public RefCounted<MIDISuccessCallback> {
public:
- virtual ~StorageQuotaCallback() { }
- virtual bool handleEvent(unsigned long long grantedQuotaInBytes) = 0;
+ virtual ~MIDISuccessCallback() { }
+ virtual bool handleEvent(MIDIAccess*) = 0;
};
} // namespace
-#endif // StorageQuotaCallback_h
+#endif // MIDISuccessCallback_h
« no previous file with comments | « Source/modules/webmidi/MIDIMessageEvent.idl ('k') | Source/modules/webmidi/MIDISuccessCallback.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698