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

Unified Diff: third_party/libjingle/overrides/talk/base/messagequeue.h

Issue 9455070: Remove the dependency to ws2_32.dll from talk_base::ThreadManager and talk_base::Thread. (Closed) Base URL: https://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 10 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: third_party/libjingle/overrides/talk/base/messagequeue.h
===================================================================
--- third_party/libjingle/overrides/talk/base/messagequeue.h (revision 124320)
+++ third_party/libjingle/overrides/talk/base/messagequeue.h (working copy)
@@ -171,9 +171,14 @@
class MessageQueue {
public:
- explicit MessageQueue(SocketServer* ss = NULL);
+ // A phiscal socket server will be created for this ctor.
+ MessageQueue();
+ // If |ss| is NULL, a dummy socket server will be created.
+ explicit MessageQueue(SocketServer* ss);
virtual ~MessageQueue();
+ void Construct();
+
SocketServer* socketserver() { return ss_; }
void set_socketserver(SocketServer* ss);
@@ -240,7 +245,7 @@
// The SocketServer is not owned by MessageQueue.
SocketServer* ss_;
// If a server isn't supplied in the constructor, use this one.
- scoped_ptr<SocketServer> default_ss_;
+ scoped_ptr<SocketServer> owned_ss_;
bool fStop_;
bool fPeekKeep_;
Message msgPeek_;
« no previous file with comments | « third_party/libjingle/overrides/talk/base/byteorder.h ('k') | third_party/libjingle/overrides/talk/base/messagequeue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698