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

Unified Diff: base/platform_file.h

Issue 7184032: Upstream android file related code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 6 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
Index: base/platform_file.h
diff --git a/base/platform_file.h b/base/platform_file.h
index 5b29e07fa08084360710ed84d6ada7908cb764d2..f7b7e31b4ea42b5217fda5aaf217d34b0e7352c1 100644
--- a/base/platform_file.h
+++ b/base/platform_file.h
@@ -18,6 +18,14 @@
#include "base/file_path.h"
#include "base/time.h"
+#if defined(OS_ANDROID)
+// Not implemented in Bionic. See platform_file_android.cc.
+extern "C" int futimes(int fd, const struct timeval tv[2]);
+
+// The prototype of mkdtemp is missing.
+extern "C" char* mkdtemp(char* path);
joth 2011/06/17 11:25:54 could we just put these declarations in the .cc th
michaelbai 2011/06/17 22:41:29 Done.
+#endif // OS_ANDROID
+
namespace base {
#if defined(OS_WIN)

Powered by Google App Engine
This is Rietveld 408576698