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

Unified Diff: webrtc/base/ipaddress.h

Issue 1274013002: Bug 4865: Enable connectivity when the remote peer is on public internet. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Created 5 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 | « no previous file | webrtc/base/ipaddress.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/ipaddress.h
diff --git a/webrtc/base/ipaddress.h b/webrtc/base/ipaddress.h
index fb222eeba3f2c3a88f598e8440bc391fd01b7831..606878b77de6e69547e7d5934f296461a2ea633e 100644
--- a/webrtc/base/ipaddress.h
+++ b/webrtc/base/ipaddress.h
@@ -109,6 +109,9 @@ class IPAddress {
// For socketaddress' benefit. Returns the IP in host byte order.
uint32 v4AddressAsHostOrderInteger() const;
+ // Whether this is an unspecified IP address.
+ bool IsNil() const;
+
static void set_strip_sensitive(bool enable);
private:
« no previous file with comments | « no previous file | webrtc/base/ipaddress.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698