diff options
author | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-19 23:34:09 +0000 |
---|---|---|
committer | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-19 23:34:09 +0000 |
commit | d9f76627b14170b95639619089139b6f0493ae8c (patch) | |
tree | f3f6d791f2a5a460a08d6fd04e5ba97099d90e1e /net/http/http_util.h | |
parent | 0c150b5688948d0f7f1be33a16f57d58c910100d (diff) | |
download | chromium_src-d9f76627b14170b95639619089139b6f0493ae8c.zip chromium_src-d9f76627b14170b95639619089139b6f0493ae8c.tar.gz chromium_src-d9f76627b14170b95639619089139b6f0493ae8c.tar.bz2 |
Net: Add NET_API to some http code.
BUG=76997
TEST=NONE
Review URL: http://codereview.chromium.org/6969080
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86009 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_util.h')
-rw-r--r-- | net/http/http_util.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/net/http/http_util.h b/net/http/http_util.h index b61d140..f9a316f 100644 --- a/net/http/http_util.h +++ b/net/http/http_util.h @@ -12,6 +12,7 @@ #include "base/memory/ref_counted.h" #include "base/string_tokenizer.h" #include "googleurl/src/gurl.h" +#include "net/base/net_api.h" #include "net/http/http_byte_range.h" // This is a macro to support extending this string literal at compile time. @@ -22,7 +23,7 @@ namespace net { class UploadDataStream; -class HttpUtil { +class NET_API HttpUtil { public: // Returns the absolute path of the URL, to be used for the http request. // The absolute path starts with a '/' and may contain a query. @@ -170,7 +171,7 @@ class HttpUtil { // over the values in a multi-value header, use ValuesIterator. // See AssembleRawHeaders for joining line continuations (this iterator // does not expect any). - class HeadersIterator { + class NET_API HeadersIterator { public: HeadersIterator(std::string::const_iterator headers_begin, std::string::const_iterator headers_end, @@ -233,7 +234,7 @@ class HttpUtil { // This iterator is careful to skip over delimiters found inside an HTTP // quoted string. // - class ValuesIterator { + class NET_TEST ValuesIterator { public: ValuesIterator(std::string::const_iterator values_begin, std::string::const_iterator values_end, @@ -267,7 +268,7 @@ class HttpUtil { // // String iterators returned from this class' methods may be invalidated upon // calls to GetNext() or after the NameValuePairsIterator is destroyed. - class NameValuePairsIterator { + class NET_API NameValuePairsIterator { public: NameValuePairsIterator(std::string::const_iterator begin, std::string::const_iterator end, |