| Index: remoting/base/util.h
|
| diff --git a/remoting/base/util.h b/remoting/base/util.h
|
| index c8c70210f686051ee474ffe0fbfe6931a2da6ebe..d11d407d281ad4e30c1a56f5ebb90fce67ade20b 100644
|
| --- a/remoting/base/util.h
|
| +++ b/remoting/base/util.h
|
| @@ -96,6 +96,11 @@ bool StringIsUtf8(const char* data, size_t length);
|
| bool DoesRectContain(const webrtc::DesktopRect& a,
|
| const webrtc::DesktopRect& b);
|
|
|
| +// Parse string in the form "<min_port>-<max_port>". E.g. "12400-12409".
|
| +// Returns true if string was parsed successfuly.
|
| +bool ParsePortRange(const std::string& port_range, int* out_min_port,
|
| + int* out_max_port);
|
| +
|
| } // namespace remoting
|
|
|
| #endif // REMOTING_BASE_UTIL_H_
|
|
|