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

Side by Side Diff: components/filesystem/futimens.h

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 unified diff | Download patch
« no previous file with comments | « components/filesystem/files_test_base.cc ('k') | components/filesystem/futimens_android.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef SERVICES_FILES_FUTIMENS_H_
6 #define SERVICES_FILES_FUTIMENS_H_
7
8 #include <sys/stat.h>
9
10 #include "build/build_config.h"
11
12 // For Android: The NDK/C library we currently build against doesn't have
13 // |futimens()|, but has |utimensat()|. Provide the former (in terms of the
14 // latter) for now. Remove this file and futimens_android.cc when |futimens()|
15 // becomes generally available (see
16 // https://android-review.googlesource.com/#/c/63321/).
17
18 #if defined(OS_ANDROID)
19 extern "C" {
20
21 int futimens(int fd, const struct timespec times[2]);
22
23 } // extern "C"
24 #endif
25
26 #endif // SERVICES_FILES_FUTIMENS_H_
OLDNEW
« no previous file with comments | « components/filesystem/files_test_base.cc ('k') | components/filesystem/futimens_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698