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

Unified Diff: media/midi/midi_manager.h

Issue 66183002: Replace MessageLoopProxy with SingleThreadTaskRunner for the rest of media/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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: media/midi/midi_manager.h
diff --git a/media/midi/midi_manager.h b/media/midi/midi_manager.h
index 6a301a942d9d1d6222c0e49587ef234951f8bba3..19ed53a03dd3baf87428b6c4dd36f7f1d239da13 100644
--- a/media/midi/midi_manager.h
+++ b/media/midi/midi_manager.h
@@ -9,13 +9,14 @@
#include <vector>
#include "base/basictypes.h"
+#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
-#include "base/message_loop/message_loop_proxy.h"
#include "base/synchronization/lock.h"
#include "media/base/media_export.h"
#include "media/midi/midi_port_info.h"
namespace base {
+class SingleThreadTaskRunner;
class Thread;
}
@@ -123,7 +124,7 @@ class MEDIA_EXPORT MIDIManager {
// |send_thread_| is used to send MIDI data by calling the platform-specific
// API.
scoped_ptr<base::Thread> send_thread_;
- scoped_refptr<base::MessageLoopProxy> send_message_loop_;
+ scoped_refptr<base::SingleThreadTaskRunner> send_message_loop_;
DISALLOW_COPY_AND_ASSIGN(MIDIManager);
};

Powered by Google App Engine
This is Rietveld 408576698