summaryrefslogtreecommitdiffstats
path: root/base/file_util.h
diff options
context:
space:
mode:
authormaf@chromium.org <maf@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-30 00:10:16 +0000
committermaf@chromium.org <maf@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-30 00:10:16 +0000
commitfd132701cc19d57d156b8ff37300a9347117fd3b (patch)
tree2f2196fc12668296bee1147ee7e3035cc8756461 /base/file_util.h
parent26f70e1bc50dfe71be2fd62b5dce41e081ac8743 (diff)
downloadchromium_src-fd132701cc19d57d156b8ff37300a9347117fd3b.zip
chromium_src-fd132701cc19d57d156b8ff37300a9347117fd3b.tar.gz
chromium_src-fd132701cc19d57d156b8ff37300a9347117fd3b.tar.bz2
Revert 83629 - linux components: expose more BASE_API used by Chrome itself
Review URL: http://codereview.chromium.org/6902177 TBR=evan@chromium.org Review URL: http://codereview.chromium.org/6903159 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83635 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 28c96e9..a187fee 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.
-BASE_API bool GetInode(const FilePath& path, ino_t* inode);
+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.
-BASE_API int WriteFileDescriptor(const int fd, const char* data, int size);
+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.
-BASE_API bool GetFileSystemType(const FilePath& path, FileSystemType* type);
+bool GetFileSystemType(const FilePath& path, FileSystemType* type);
#endif
} // namespace file_util