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

Unified Diff: media/midi/midi_manager_win.h

Issue 2834423002: Web MIDI: rename DynamicallyInitializedMidiManagerWin (Closed)
Patch Set: Created 3 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
« no previous file with comments | « media/midi/dynamically_initialized_midi_manager_win.cc ('k') | media/midi/midi_manager_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/midi/midi_manager_win.h
diff --git a/media/midi/dynamically_initialized_midi_manager_win.h b/media/midi/midi_manager_win.h
similarity index 85%
rename from media/midi/dynamically_initialized_midi_manager_win.h
rename to media/midi/midi_manager_win.h
index 176ca16bf16f04d1d0d16fe861980ba546b272a5..edd9fe56134e3a0867c8844d0dbf5887fd3bcb5b 100644
--- a/media/midi/dynamically_initialized_midi_manager_win.h
+++ b/media/midi/midi_manager_win.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef MEDIA_MIDI_DYNAMICALLY_INITIALIZED_MIDI_MANAGER_WIN_H_
-#define MEDIA_MIDI_DYNAMICALLY_INITIALIZED_MIDI_MANAGER_WIN_H_
+#ifndef MEDIA_MIDI_MIDI_MANAGER_WIN_H_
+#define MEDIA_MIDI_MIDI_MANAGER_WIN_H_
#include <memory>
#include <vector>
@@ -22,14 +22,14 @@ class TimeDelta;
namespace midi {
// New backend for legacy Windows that support dynamic instantiation.
-class DynamicallyInitializedMidiManagerWin final
+class MidiManagerWin final
: public MidiManager,
public base::SystemMonitor::DevicesChangedObserver {
public:
class PortManager;
- explicit DynamicallyInitializedMidiManagerWin(MidiService* service);
- ~DynamicallyInitializedMidiManagerWin() override;
+ explicit MidiManagerWin(MidiService* service);
+ ~MidiManagerWin() override;
// Returns PortManager that implements interfaces to help implementation.
// This hides Windows specific structures, i.e. HMIDIIN in the header.
@@ -74,7 +74,7 @@ class DynamicallyInitializedMidiManagerWin final
// Reflect active port list to a device list.
template <typename T>
- void ReflectActiveDeviceList(DynamicallyInitializedMidiManagerWin* manager,
+ void ReflectActiveDeviceList(MidiManagerWin* manager,
std::vector<T>* known_ports,
std::vector<T>* active_ports);
@@ -93,9 +93,9 @@ class DynamicallyInitializedMidiManagerWin final
// accessed with the task lock.
std::unique_ptr<PortManager> port_manager_;
- DISALLOW_COPY_AND_ASSIGN(DynamicallyInitializedMidiManagerWin);
+ DISALLOW_COPY_AND_ASSIGN(MidiManagerWin);
};
} // namespace midi
-#endif // MEDIA_MIDI_DYNAMICALLY_INITIALIZED_MIDI_MANAGER_WIN_H_
+#endif // MEDIA_MIDI_MIDI_MANAGER_WIN_H_
« no previous file with comments | « media/midi/dynamically_initialized_midi_manager_win.cc ('k') | media/midi/midi_manager_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698