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

Unified Diff: third_party/WebKit/public/web/modules/webmidi/WebMIDIOptions.h

Issue 2116763002: Reland: Web MIDI: use mojom::blink::PermissionService directly to ask permission (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: for second attempt Created 4 years, 5 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/public/web/modules/webmidi/WebMIDIOptions.h
diff --git a/third_party/WebKit/public/web/modules/webmidi/WebMIDIOptions.h b/third_party/WebKit/public/web/modules/webmidi/WebMIDIOptions.h
deleted file mode 100644
index 6fce9256a167db632da6f952d8bea454ed09d743..0000000000000000000000000000000000000000
--- a/third_party/WebKit/public/web/modules/webmidi/WebMIDIOptions.h
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef WebMIDIOptions_h
-#define WebMIDIOptions_h
-
-namespace blink {
-
-struct WebMIDIOptions {
- enum class SysexPermission { WithSysex, WithoutSysex };
-
- explicit WebMIDIOptions(SysexPermission sysex)
- : sysex(sysex)
- {
- }
-
- const SysexPermission sysex;
- // TODO(crbug.com/502127): Add bool software to follow the latest spec.
-};
-
-} // namespace blink
-
-#endif // WebMIDIOptions_h

Powered by Google App Engine
This is Rietveld 408576698