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

Unified Diff: components/filesystem/futimens.h

Issue 1158253002: mandoline filesystem: Rewrite using base::File. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Get the error from the right object. 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/files_test_base.cc ('k') | components/filesystem/futimens_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/filesystem/futimens.h
diff --git a/components/filesystem/futimens.h b/components/filesystem/futimens.h
deleted file mode 100644
index 8c91eb726bcd0ae8f08bb3d7d03eed059a2963b9..0000000000000000000000000000000000000000
--- a/components/filesystem/futimens.h
+++ /dev/null
@@ -1,26 +0,0 @@
-// 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.
-
-#ifndef COMPONENTS_FILESYSTEM_FUTIMENS_H_
-#define COMPONENTS_FILESYSTEM_FUTIMENS_H_
-
-#include <sys/stat.h>
-
-#include "build/build_config.h"
-
-// For Android: The NDK/C library we currently build against doesn't have
-// |futimens()|, but has |utimensat()|. Provide the former (in terms of the
-// latter) for now. Remove this file and futimens_android.cc when |futimens()|
-// becomes generally available (see
-// https://android-review.googlesource.com/#/c/63321/).
-
-#if defined(OS_ANDROID)
-extern "C" {
-
-int futimens(int fd, const struct timespec times[2]);
-
-} // extern "C"
-#endif
-
-#endif // COMPONENTS_FILESYSTEM_FUTIMENS_H_
« 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