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

Side by Side Diff: services/files/futimens.h

Issue 875643004: Prototype of Files service. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Remove much of DirectoryImpl implementation until I write tests. Created 5 years, 9 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
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

Powered by Google App Engine
This is Rietveld 408576698