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

Unified Diff: webrtc/p2p/base/relayserver.h

Issue 1793553002: Using 64-bit timestamp in webrtc/p2p (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 9 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 | « webrtc/p2p/base/relayport.cc ('k') | webrtc/p2p/base/relayserver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/p2p/base/relayserver.h
diff --git a/webrtc/p2p/base/relayserver.h b/webrtc/p2p/base/relayserver.h
index f1109f1ce48e1a4dce52c9c5e0a4a6d0e754e082..7ee71d9f21693b0365644f2f6dc11034573e47d8 100644
--- a/webrtc/p2p/base/relayserver.h
+++ b/webrtc/p2p/base/relayserver.h
@@ -184,11 +184,11 @@ class RelayServerBinding : public rtc::MessageHandler {
RelayServerBinding(RelayServer* server,
const std::string& username,
const std::string& password,
- uint32_t lifetime);
+ int lifetime);
virtual ~RelayServerBinding();
RelayServer* server() { return server_; }
- uint32_t lifetime() { return lifetime_; }
+ int lifetime() { return lifetime_; }
const std::string& username() { return username_; }
const std::string& password() { return password_; }
const std::string& magic_cookie() { return magic_cookie_; }
@@ -226,8 +226,8 @@ class RelayServerBinding : public rtc::MessageHandler {
std::vector<RelayServerConnection*> internal_connections_;
std::vector<RelayServerConnection*> external_connections_;
- uint32_t lifetime_;
- uint32_t last_used_;
+ int lifetime_;
+ int64_t last_used_;
// TODO: bandwidth
};
« no previous file with comments | « webrtc/p2p/base/relayport.cc ('k') | webrtc/p2p/base/relayserver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698