diff options
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-29 18:53:08 +0000 |
---|---|---|
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-29 18:53:08 +0000 |
commit | 385f5ce9d76f34b1141e014f70cdf01b96e91a3a (patch) | |
tree | 9dcdaf4ff2c7e029999c29114802486c6ad6d6cf /net/base/net_util.h | |
parent | ed19c01ecb6f8437c2d16c78bacf5ba69e7e12b8 (diff) | |
download | chromium_src-385f5ce9d76f34b1141e014f70cdf01b96e91a3a.zip chromium_src-385f5ce9d76f34b1141e014f70cdf01b96e91a3a.tar.gz chromium_src-385f5ce9d76f34b1141e014f70cdf01b96e91a3a.tar.bz2 |
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
Diffstat (limited to 'net/base/net_util.h')
-rw-r--r-- | net/base/net_util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/base/net_util.h b/net/base/net_util.h index 8ccfeef..3384017 100644 --- a/net/base/net_util.h +++ b/net/base/net_util.h @@ -94,12 +94,12 @@ NET_EXPORT bool FileURLToFilePath(const GURL& url, FilePath* file_path); // Returns true if the parsing was successful, false otherwise. // The returned host is NOT canonicalized, and may be invalid. If <host> is // 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_end, std::string* host, int* port); -NET_EXPORT_PRIVATE bool ParseHostAndPort( +NET_EXPORT bool ParseHostAndPort( const std::string& host_and_port, std::string* host, int* port); |