Add logging for sending and receiving STUN binding requests and TURN requests and responses.
BUG=
R=guoweis@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/46189004
Cr-Commit-Position: refs/heads/master@{#9195}
diff --git a/webrtc/base/stringencode.h b/webrtc/base/stringencode.h
index 79af285..df163dd 100644
--- a/webrtc/base/stringencode.h
+++ b/webrtc/base/stringencode.h
@@ -11,8 +11,8 @@
#ifndef WEBRTC_BASE_STRINGENCODE_H_
#define WEBRTC_BASE_STRINGENCODE_H_
-#include <string>
#include <sstream>
+#include <string>
#include <vector>
#include "webrtc/base/checks.h"
@@ -95,6 +95,7 @@
char delimiter);
// Helper functions for hex_encode.
+std::string hex_encode(const std::string& str);
std::string hex_encode(const char* source, size_t srclen);
std::string hex_encode_with_delimiter(const char* source, size_t srclen,
char delimiter);