Index: mojo/services/files/public/c/lib/file_fd_impl.h |
diff --git a/mojo/services/files/public/c/lib/file_fd_impl.h b/mojo/services/files/public/c/lib/file_fd_impl.h |
deleted file mode 100644 |
index 2a9a7d1a0c1bf8e2d5a181f0adbb235b332fd38c..0000000000000000000000000000000000000000 |
--- a/mojo/services/files/public/c/lib/file_fd_impl.h |
+++ /dev/null |
@@ -1,37 +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 SERVICES_FILES_C_LIB_FILE_FD_IMPL_H_ |
-#define SERVICES_FILES_C_LIB_FILE_FD_IMPL_H_ |
- |
-#include "files/public/c/lib/fd_impl.h" |
-#include "files/public/c/mojio_sys_types.h" |
-#include "files/public/interfaces/file.mojom.h" |
-#include "mojo/public/c/system/macros.h" |
- |
-namespace mojio { |
- |
-class FileFDImpl : public FDImpl { |
- public: |
- FileFDImpl(ErrnoImpl* errno_impl, mojo::files::FilePtr file); |
- ~FileFDImpl() override; |
- |
- // |FDImpl| implementation: |
- bool Close() override; |
- std::unique_ptr<FDImpl> Dup() override; |
- bool Ftruncate(mojio_off_t length) override; |
- mojio_off_t Lseek(mojio_off_t offset, int whence) override; |
- mojio_ssize_t Read(void* buf, size_t count) override; |
- mojio_ssize_t Write(const void* buf, size_t count) override; |
- bool Fstat(struct mojio_stat* buf) override; |
- |
- private: |
- mojo::files::FilePtr file_; |
- |
- MOJO_DISALLOW_COPY_AND_ASSIGN(FileFDImpl); |
-}; |
- |
-} // namespace mojio |
- |
-#endif // SERVICES_FILES_C_LIB_FILE_FD_IMPL_H_ |