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

Unified Diff: webrtc/base/messagequeue.h

Issue 1982733002: Re-enabling socket tests that were previously flaky. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fixing ifdefs. Using same logic as network.cc. Created 4 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
« no previous file with comments | « no previous file | webrtc/base/messagequeue.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/messagequeue.h
diff --git a/webrtc/base/messagequeue.h b/webrtc/base/messagequeue.h
index 4aa96eb531f7c50ab6458e7eba703d38638c4b62..03dfc98e13d18a4eeaf72e40f9c21944b76f05d4 100644
--- a/webrtc/base/messagequeue.h
+++ b/webrtc/base/messagequeue.h
@@ -152,7 +152,10 @@ typedef std::list<Message> MessageList;
class DelayedMessage {
public:
- DelayedMessage(int delay, int64_t trigger, uint32_t num, const Message& msg)
+ DelayedMessage(int64_t delay,
+ int64_t trigger,
+ uint32_t num,
+ const Message& msg)
: cmsDelay_(delay), msTrigger_(trigger), num_(num), msg_(msg) {}
bool operator< (const DelayedMessage& dmsg) const {
@@ -160,7 +163,7 @@ class DelayedMessage {
|| ((dmsg.msTrigger_ == msTrigger_) && (dmsg.num_ < num_));
}
- int cmsDelay_; // for debugging
+ int64_t cmsDelay_; // for debugging
int64_t msTrigger_;
uint32_t num_;
Message msg_;
@@ -254,7 +257,7 @@ class MessageQueue {
void reheap() { make_heap(c.begin(), c.end(), comp); }
};
- void DoDelayPost(int cmsDelay,
+ void DoDelayPost(int64_t cmsDelay,
int64_t tstamp,
MessageHandler* phandler,
uint32_t id,
« no previous file with comments | « no previous file | webrtc/base/messagequeue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698