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

Unified Diff: net/base/listen_socket.h

Issue 6969077: net: Add NET_API to net/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 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
Index: net/base/listen_socket.h
===================================================================
--- net/base/listen_socket.h (revision 85332)
+++ net/base/listen_socket.h (working copy)
@@ -25,7 +25,9 @@
#endif
#include "base/basictypes.h"
+#include "base/compiler_specific.h"
#include "base/memory/ref_counted.h"
+#include "net/base/net_api.h"
#if defined(OS_POSIX)
struct event; // From libevent
@@ -33,13 +35,14 @@
#endif
// Implements a raw socket interface
-class ListenSocket : public base::RefCountedThreadSafe<ListenSocket>,
+MSVC_PUSH_DISABLE_WARNING(4275)
+class NET_API ListenSocket : public base::RefCountedThreadSafe<ListenSocket>,
#if defined(OS_WIN)
- public base::win::ObjectWatcher::Delegate
+ public base::win::ObjectWatcher::Delegate {
#elif defined(OS_POSIX)
- public MessageLoopForIO::Watcher
+ public MessageLoopForIO::Watcher {
#endif
-{
+MSVC_POP_WARNING()
public:
// TODO(erikkay): this delegate should really be split into two parts
// to split up the listener from the connected socket. Perhaps this class

Powered by Google App Engine
This is Rietveld 408576698