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

Unified Diff: base/async_socket_io_handler.h

Issue 23137015: Move async_socket_io_handler.* from media/ to base/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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 | « no previous file | base/async_socket_io_handler_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/async_socket_io_handler.h
diff --git a/media/audio/async_socket_io_handler.h b/base/async_socket_io_handler.h
similarity index 94%
rename from media/audio/async_socket_io_handler.h
rename to base/async_socket_io_handler.h
index cc7185eb243d093c65a1e6a02bcbf69ab77e00aa..6e2a157bb12bb77d2a0cc38c117c9c8274f8cf39 100644
--- a/media/audio/async_socket_io_handler.h
+++ b/base/async_socket_io_handler.h
@@ -2,13 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef MEDIA_AUDIO_ASYNC_SOCKET_IO_HANDLER_H_
-#define MEDIA_AUDIO_ASYNC_SOCKET_IO_HANDLER_H_
+#ifndef BASE_ASYNC_SOCKET_IO_HANDLER_H_
+#define BASE_ASYNC_SOCKET_IO_HANDLER_H_
#include "base/message_loop/message_loop.h"
#include "base/sync_socket.h"
#include "base/threading/non_thread_safe.h"
-#include "media/base/media_export.h"
namespace media {
@@ -52,7 +51,7 @@ typedef base::MessageLoopForIO::Watcher MessageLoopIOHandler;
// char buffer_[kBufferSize];
// };
//
-class MEDIA_EXPORT AsyncSocketIoHandler
+class BASE_EXPORT AsyncSocketIoHandler
: public NON_EXPORTED_BASE(base::NonThreadSafe),
public NON_EXPORTED_BASE(MessageLoopIOHandler) {
public:
@@ -110,4 +109,4 @@ class MEDIA_EXPORT AsyncSocketIoHandler
} // namespace media.
-#endif // MEDIA_AUDIO_ASYNC_SOCKET_IO_HANDLER_H_
+#endif // BASE_ASYNC_SOCKET_IO_HANDLER_H_
« no previous file with comments | « no previous file | base/async_socket_io_handler_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698