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

Side by Side Diff: media/audio/async_socket_io_handler.h

Issue 19622002: Use a direct include of the message_loop header in media/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | media/audio/audio_device_thread.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 MEDIA_AUDIO_ASYNC_SOCKET_IO_HANDLER_H_ 5 #ifndef MEDIA_AUDIO_ASYNC_SOCKET_IO_HANDLER_H_
6 #define MEDIA_AUDIO_ASYNC_SOCKET_IO_HANDLER_H_ 6 #define MEDIA_AUDIO_ASYNC_SOCKET_IO_HANDLER_H_
7 7
8 #include "base/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "base/sync_socket.h" 9 #include "base/sync_socket.h"
10 #include "base/threading/non_thread_safe.h" 10 #include "base/threading/non_thread_safe.h"
11 #include "media/base/media_export.h" 11 #include "media/base/media_export.h"
12 12
13 namespace media { 13 namespace media {
14 14
15 // The message loop callback interface is different based on platforms. 15 // The message loop callback interface is different based on platforms.
16 #if defined(OS_WIN) 16 #if defined(OS_WIN)
17 typedef base::MessageLoopForIO::IOHandler MessageLoopIOHandler; 17 typedef base::MessageLoopForIO::IOHandler MessageLoopIOHandler;
18 #elif defined(OS_POSIX) 18 #elif defined(OS_POSIX)
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 bool is_watching_; 104 bool is_watching_;
105 #endif 105 #endif
106 ReadCompleteCallback read_complete_; 106 ReadCompleteCallback read_complete_;
107 107
108 DISALLOW_COPY_AND_ASSIGN(AsyncSocketIoHandler); 108 DISALLOW_COPY_AND_ASSIGN(AsyncSocketIoHandler);
109 }; 109 };
110 110
111 } // namespace media. 111 } // namespace media.
112 112
113 #endif // MEDIA_AUDIO_ASYNC_SOCKET_IO_HANDLER_H_ 113 #endif // MEDIA_AUDIO_ASYNC_SOCKET_IO_HANDLER_H_
OLDNEW
« no previous file with comments | « no previous file | media/audio/audio_device_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698