Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(341)

Unified Diff: base/file_util_deprecated.h

Issue 7461141: Rename BASE_API to BASE_EXPORT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/file_util.h ('k') | base/file_util_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/file_util_deprecated.h
===================================================================
--- base/file_util_deprecated.h (revision 95578)
+++ base/file_util_deprecated.h (working copy)
@@ -14,7 +14,7 @@
#define BASE_FILE_UTIL_DEPRECATED_H_
#pragma once
-#include "base/base_api.h"
+#include "base/base_export.h"
#include "build/build_config.h"
// We've successfully deprecated all of these functions on non-Windows
@@ -25,23 +25,24 @@
namespace file_util {
// Use the FilePath versions instead.
-BASE_API FILE* OpenFile(const std::string& filename, const char* mode);
-BASE_API FILE* OpenFile(const std::wstring& filename, const char* mode);
+BASE_EXPORT FILE* OpenFile(const std::string& filename, const char* mode);
+BASE_EXPORT FILE* OpenFile(const std::wstring& filename, const char* mode);
// Appends new_ending to path, adding a separator between the two if necessary.
-BASE_API void AppendToPath(std::wstring* path, const std::wstring& new_ending);
+BASE_EXPORT void AppendToPath(std::wstring* path,
+ const std::wstring& new_ending);
// Use FilePath::Extension instead.
-BASE_API std::wstring GetFileExtensionFromPath(const std::wstring& path);
+BASE_EXPORT std::wstring GetFileExtensionFromPath(const std::wstring& path);
// Use version that takes a FilePath.
-BASE_API bool Delete(const std::wstring& path, bool recursive);
-BASE_API bool CopyDirectory(const std::wstring& from_path,
- const std::wstring& to_path,
- bool recursive);
-BASE_API int ReadFile(const std::wstring& filename, char* data, int size);
-BASE_API int WriteFile(const std::wstring& filename,
- const char* data, int size);
+BASE_EXPORT bool Delete(const std::wstring& path, bool recursive);
+BASE_EXPORT bool CopyDirectory(const std::wstring& from_path,
+ const std::wstring& to_path,
+ bool recursive);
+BASE_EXPORT int ReadFile(const std::wstring& filename, char* data, int size);
+BASE_EXPORT int WriteFile(const std::wstring& filename,
+ const char* data, int size);
}
« no previous file with comments | « base/file_util.h ('k') | base/file_util_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698