summaryrefslogtreecommitdiffstats
path: root/base/file_util.h
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-29 23:54:11 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-29 23:54:11 +0000
commitafedf0168c27568034e6fe98eb4b573a36469f98 (patch)
treecdc66ea0eac9f20127f347c2bca26a192871b0f7 /base/file_util.h
parenteffa399e47e7095faa32f6815494b01f02b2e0e7 (diff)
downloadchromium_src-afedf0168c27568034e6fe98eb4b573a36469f98.zip
chromium_src-afedf0168c27568034e6fe98eb4b573a36469f98.tar.gz
chromium_src-afedf0168c27568034e6fe98eb4b573a36469f98.tar.bz2
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
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