| Index: net/base/mime_sniffer.h
|
| ===================================================================
|
| --- net/base/mime_sniffer.h (revision 95949)
|
| +++ net/base/mime_sniffer.h (working copy)
|
| @@ -8,7 +8,7 @@
|
|
|
| #include <string>
|
|
|
| -#include "net/base/net_api.h"
|
| +#include "net/base/net_export.h"
|
|
|
| class GURL;
|
|
|
| @@ -26,7 +26,8 @@
|
| // @param url The URL from which we obtained the content.
|
| // @param mime_type The current mime type, e.g. from the Content-Type header.
|
| // @return Returns true if we should sniff the mime type.
|
| -NET_API bool ShouldSniffMimeType(const GURL& url, const std::string& mime_type);
|
| +NET_EXPORT bool ShouldSniffMimeType(const GURL& url,
|
| + const std::string& mime_type);
|
|
|
| // Guess a mime type from the first few bytes of content an its URL. Always
|
| // assigns |result| with its best guess of a mime type.
|
| @@ -37,9 +38,9 @@
|
| // @param type_hint The current mime type, e.g. from the Content-Type header.
|
| // @param result Address at which to place the sniffed mime type.
|
| // @return Returns true if we have enough content to guess the mime type.
|
| -NET_API bool SniffMimeType(const char* content, size_t content_size,
|
| - const GURL& url, const std::string& type_hint,
|
| - std::string* result);
|
| +NET_EXPORT bool SniffMimeType(const char* content, size_t content_size,
|
| + const GURL& url, const std::string& type_hint,
|
| + std::string* result);
|
|
|
| } // namespace net
|
|
|
|
|