summaryrefslogtreecommitdiffstats
path: root/base/file_util.h
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-02 17:54:14 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-02 17:54:14 +0000
commit68a008e82da08b0bf7d421049f0a292b99b88048 (patch)
treec8877946ba313e24f2de3903f48994c0d1d29d70 /base/file_util.h
parent4d223f42c722674ae0a5f56cf9ac277fa9f52b9c (diff)
downloadchromium_src-68a008e82da08b0bf7d421049f0a292b99b88048.zip
chromium_src-68a008e82da08b0bf7d421049f0a292b99b88048.tar.gz
chromium_src-68a008e82da08b0bf7d421049f0a292b99b88048.tar.bz2
linux: components build
Reapply r83630, r83629, r83583, and fix the one compile error. TBR=rvargas git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83740 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_util.h')
-rw-r--r--base/file_util.h6
1 files changed, 3 insertions, 3 deletions
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