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

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

Issue 3012473002: Revert of Add logging of host lookups made by TurnPort to the RtcEventLog. (Closed)
Patch Set: Created 3 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 | « webrtc/p2p/base/port_unittest.cc ('k') | webrtc/p2p/base/turnport.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/p2p/base/turnport.h
diff --git a/webrtc/p2p/base/turnport.h b/webrtc/p2p/base/turnport.h
index 8127669041ee6cb6271a372aeb82271d7f2ce84c..abdaa3dcb433b7f1d508a2a229e8240db445251e 100644
--- a/webrtc/p2p/base/turnport.h
+++ b/webrtc/p2p/base/turnport.h
@@ -52,11 +52,9 @@
const ProtocolAddress& server_address,
const RelayCredentials& credentials,
int server_priority,
- const std::string& origin,
- webrtc::RtcEventLog* event_log) {
+ const std::string& origin) {
return new TurnPort(thread, factory, network, socket, username, password,
- server_address, credentials, server_priority, origin,
- event_log);
+ server_address, credentials, server_priority, origin);
}
// Create a TURN port that will use a new socket, bound to |network| and
@@ -71,11 +69,10 @@
const ProtocolAddress& server_address,
const RelayCredentials& credentials,
int server_priority,
- const std::string& origin,
- webrtc::RtcEventLog* event_log) {
+ const std::string& origin) {
return new TurnPort(thread, factory, network, min_port, max_port, username,
password, server_address, credentials, server_priority,
- origin, event_log);
+ origin);
}
virtual ~TurnPort();
@@ -177,8 +174,7 @@
const ProtocolAddress& server_address,
const RelayCredentials& credentials,
int server_priority,
- const std::string& origin,
- webrtc::RtcEventLog* event_log);
+ const std::string& origin);
TurnPort(rtc::Thread* thread,
rtc::PacketSocketFactory* factory,
@@ -190,8 +186,7 @@
const ProtocolAddress& server_address,
const RelayCredentials& credentials,
int server_priority,
- const std::string& origin,
- webrtc::RtcEventLog* event_log);
+ const std::string& origin);
private:
enum {
@@ -295,8 +290,6 @@
// The number of retries made due to allocate mismatch error.
size_t allocate_mismatch_retries_;
- webrtc::RtcEventLog* event_log_;
-
rtc::AsyncInvoker invoker_;
friend class TurnEntry;
« no previous file with comments | « webrtc/p2p/base/port_unittest.cc ('k') | webrtc/p2p/base/turnport.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698