From afedf0168c27568034e6fe98eb4b573a36469f98 Mon Sep 17 00:00:00 2001 From: "evan@chromium.org" Date: Fri, 29 Apr 2011 23:54:11 +0000 Subject: linux components: expose more BASE_API used by Chrome itself Review URL: http://codereview.chromium.org/6902177 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83629 0039d316-1c4b-4281-b951-d872f2087c98 --- base/file_util.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'base/file_util.h') diff --git a/base/file_util.h b/base/file_util.h index a187fee..28c96e9 100644 --- a/base/file_util.h +++ b/base/file_util.h @@ -343,7 +343,7 @@ BASE_API bool SetLastModifiedTime(const FilePath& path, #if defined(OS_POSIX) // Store inode number of |path| in |inode|. Return true on success. -bool GetInode(const FilePath& path, ino_t* inode); +BASE_API bool GetInode(const FilePath& path, ino_t* inode); #endif // Wrapper for fopen-like calls. Returns non-NULL FILE* on success. @@ -365,7 +365,7 @@ BASE_API int ReadFile(const FilePath& filename, char* data, int size); BASE_API int WriteFile(const FilePath& filename, const char* data, int size); #if defined(OS_POSIX) // Append the data to |fd|. Does not close |fd| when done. -int WriteFileDescriptor(const int fd, const char* data, int size); +BASE_API int WriteFileDescriptor(const int fd, const char* data, int size); #endif // Gets the current working directory for the process. @@ -648,7 +648,7 @@ enum FileSystemType { // Attempts determine the FileSystemType for |path|. // Returns false if |path| doesn't exist. -bool GetFileSystemType(const FilePath& path, FileSystemType* type); +BASE_API bool GetFileSystemType(const FilePath& path, FileSystemType* type); #endif } // namespace file_util -- cgit v1.1