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

Unified Diff: components/filesystem/futimens_android.cc

Issue 1147083002: mandoline: Fork the files service from the mojo repository. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: I think the problem was in the mandoline build.gn Created 5 years, 7 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
« no previous file with comments | « components/filesystem/futimens.h ('k') | components/filesystem/main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/filesystem/futimens_android.cc
diff --git a/components/filesystem/futimens_android.cc b/components/filesystem/futimens_android.cc
new file mode 100644
index 0000000000000000000000000000000000000000..5dbae662cb41f530ec88e7650f0771e886de8b64
--- /dev/null
+++ b/components/filesystem/futimens_android.cc
@@ -0,0 +1,13 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "components/filesystem/futimens.h"
+
+extern "C" {
+
+int futimens(int fd, const struct timespec times[2]) {
+ return utimensat(fd, nullptr, times, 0);
+}
+
+} // extern "C"
« no previous file with comments | « components/filesystem/futimens.h ('k') | components/filesystem/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698