| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef COMPONENTS_TEST_RUNNER_MOCK_WEB_MIDI_ACCESSOR_H_ | 5 #ifndef CONTENT_SHELL_TEST_RUNNER_MOCK_WEB_MIDI_ACCESSOR_H_ |
| 6 #define COMPONENTS_TEST_RUNNER_MOCK_WEB_MIDI_ACCESSOR_H_ | 6 #define CONTENT_SHELL_TEST_RUNNER_MOCK_WEB_MIDI_ACCESSOR_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 12 #include "media/midi/midi_service.mojom.h" | 12 #include "media/midi/midi_service.mojom.h" |
| 13 #include "third_party/WebKit/public/platform/modules/webmidi/WebMIDIAccessor.h" | 13 #include "third_party/WebKit/public/platform/modules/webmidi/WebMIDIAccessor.h" |
| 14 | 14 |
| 15 namespace blink { | 15 namespace blink { |
| 16 class WebMIDIAccessorClient; | 16 class WebMIDIAccessorClient; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 43 unsigned next_input_port_index_; | 43 unsigned next_input_port_index_; |
| 44 unsigned next_output_port_index_; | 44 unsigned next_output_port_index_; |
| 45 | 45 |
| 46 base::WeakPtrFactory<MockWebMIDIAccessor> weak_factory_; | 46 base::WeakPtrFactory<MockWebMIDIAccessor> weak_factory_; |
| 47 | 47 |
| 48 DISALLOW_COPY_AND_ASSIGN(MockWebMIDIAccessor); | 48 DISALLOW_COPY_AND_ASSIGN(MockWebMIDIAccessor); |
| 49 }; | 49 }; |
| 50 | 50 |
| 51 } // namespace test_runner | 51 } // namespace test_runner |
| 52 | 52 |
| 53 #endif // COMPONENTS_TEST_RUNNER_MOCK_WEB_MIDI_ACCESSOR_H_ | 53 #endif // CONTENT_SHELL_TEST_RUNNER_MOCK_WEB_MIDI_ACCESSOR_H_ |
| OLD | NEW |