diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-05 15:34:00 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-05 15:34:00 +0000 |
commit | 0bea7254836d17e3f1e278cbd52e8b8816c49a48 (patch) | |
tree | eb16c01ad0143fad583cd60a87828fd90c94f61a /base/mime_util.h | |
parent | 93f3edc8adc1db9e3d1deebde0ec58d15b7e1a91 (diff) | |
download | chromium_src-0bea7254836d17e3f1e278cbd52e8b8816c49a48.zip chromium_src-0bea7254836d17e3f1e278cbd52e8b8816c49a48.tar.gz chromium_src-0bea7254836d17e3f1e278cbd52e8b8816c49a48.tar.bz2 |
Rename BASE_API to BASE_EXPORT.
R=rvargas
Review URL: http://codereview.chromium.org/7461141
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95618 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/mime_util.h')
-rw-r--r-- | base/mime_util.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/base/mime_util.h b/base/mime_util.h index 0e0a242..fd862ed 100644 --- a/base/mime_util.h +++ b/base/mime_util.h @@ -8,7 +8,7 @@ #include <string> -#include "base/base_api.h" +#include "base/base_export.h" #include "build/build_config.h" class FilePath; @@ -19,23 +19,23 @@ namespace mime_util { // have to exist. Please note because it doesn't touch the disk, this does not // work for directories. // If the mime type is unknown, this will return application/octet-stream. -BASE_API std::string GetFileMimeType(const FilePath& filepath); +BASE_EXPORT std::string GetFileMimeType(const FilePath& filepath); // Get the mime type for a byte vector. -BASE_API std::string GetDataMimeType(const std::string& data); +BASE_EXPORT std::string GetDataMimeType(const std::string& data); #if defined(TOOLKIT_GTK) // This detects the current GTK theme by calling gtk_settings_get_default(). // It should only be executed on the UI thread and must be called before // GetMimeIcon(). -BASE_API void DetectGtkTheme(); +BASE_EXPORT void DetectGtkTheme(); #endif // Gets the file name for an icon given the mime type and icon pixel size. // Where an icon is a square image of |size| x |size|. // This will try to find the closest matching icon. If that's not available, // then a generic icon, and finally an empty FilePath if all else fails. -BASE_API FilePath GetMimeIcon(const std::string& mime_type, size_t size); +BASE_EXPORT FilePath GetMimeIcon(const std::string& mime_type, size_t size); } // namespace mime_util |