Commit 385f5ce9 authored by sergeyu@chromium.org's avatar sergeyu@chromium.org

Mark ParseHostAndPort() as NET_EXPORT instead of NET_EXPORT_PRIVATE.

I need to use this function in content/rendeder/p2p.

TEST=None
BUG=None

Review URL: http://codereview.chromium.org/7714027

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98666 0039d316-1c4b-4281-b951-d872f2087c98
parent ed19c01e
...@@ -94,12 +94,12 @@ NET_EXPORT bool FileURLToFilePath(const GURL& url, FilePath* file_path); ...@@ -94,12 +94,12 @@ NET_EXPORT bool FileURLToFilePath(const GURL& url, FilePath* file_path);
// Returns true if the parsing was successful, false otherwise. // Returns true if the parsing was successful, false otherwise.
// The returned host is NOT canonicalized, and may be invalid. If <host> is // The returned host is NOT canonicalized, and may be invalid. If <host> is
// an IPv6 literal address, the returned host includes the square brackets. // an IPv6 literal address, the returned host includes the square brackets.
NET_EXPORT_PRIVATE bool ParseHostAndPort( NET_EXPORT bool ParseHostAndPort(
std::string::const_iterator host_and_port_begin, std::string::const_iterator host_and_port_begin,
std::string::const_iterator host_and_port_end, std::string::const_iterator host_and_port_end,
std::string* host, std::string* host,
int* port); int* port);
NET_EXPORT_PRIVATE bool ParseHostAndPort( NET_EXPORT bool ParseHostAndPort(
const std::string& host_and_port, const std::string& host_and_port,
std::string* host, std::string* host,
int* port); int* port);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment