summaryrefslogtreecommitdiffstats
path: root/base/nix
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-05 15:34:00 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-05 15:34:00 +0000
commit0bea7254836d17e3f1e278cbd52e8b8816c49a48 (patch)
treeeb16c01ad0143fad583cd60a87828fd90c94f61a /base/nix
parent93f3edc8adc1db9e3d1deebde0ec58d15b7e1a91 (diff)
downloadchromium_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/nix')
-rw-r--r--base/nix/xdg_util.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/base/nix/xdg_util.h b/base/nix/xdg_util.h
index 8420a9e..305a679 100644
--- a/base/nix/xdg_util.h
+++ b/base/nix/xdg_util.h
@@ -13,7 +13,7 @@
// net. We should have a net API to allow the embedder to specify the behavior
// that it uses XDG for, and then move this file.
-#include "base/base_api.h"
+#include "base/base_export.h"
#ifdef nix
#error asdf
@@ -32,14 +32,14 @@ namespace nix {
// a directory path. |fallback_dir| is the directory relative to $HOME that we
// use if |env_name| cannot be found or is empty. |fallback_dir| may be NULL.
// Examples of |env_name| are XDG_CONFIG_HOME and XDG_DATA_HOME.
-BASE_API FilePath GetXDGDirectory(Environment* env, const char* env_name,
- const char* fallback_dir);
+BASE_EXPORT FilePath GetXDGDirectory(Environment* env, const char* env_name,
+ const char* fallback_dir);
// Wrapper around xdg_user_dir_lookup() from src/base/third_party/xdg-user-dirs
// This looks up "well known" user directories like the desktop and music
// folder. Examples of |dir_name| are DESKTOP and MUSIC.
-BASE_API FilePath GetXDGUserDirectory(Environment* env, const char* dir_name,
- const char* fallback_dir);
+BASE_EXPORT FilePath GetXDGUserDirectory(Environment* env, const char* dir_name,
+ const char* fallback_dir);
enum DesktopEnvironment {
DESKTOP_ENVIRONMENT_OTHER,
@@ -55,13 +55,13 @@ enum DesktopEnvironment {
// of which desktop environment we're using. We use this to know when
// to attempt to use preferences from the desktop environment --
// proxy settings, password manager, etc.
-BASE_API DesktopEnvironment GetDesktopEnvironment(Environment* env);
+BASE_EXPORT DesktopEnvironment GetDesktopEnvironment(Environment* env);
// Return a string representation of the given desktop environment.
// May return NULL in the case of DESKTOP_ENVIRONMENT_OTHER.
-BASE_API const char* GetDesktopEnvironmentName(DesktopEnvironment env);
+BASE_EXPORT const char* GetDesktopEnvironmentName(DesktopEnvironment env);
// Convenience wrapper that calls GetDesktopEnvironment() first.
-BASE_API const char* GetDesktopEnvironmentName(Environment* env);
+BASE_EXPORT const char* GetDesktopEnvironmentName(Environment* env);
} // namespace nix
} // namespace base