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

Unified Diff: mojo/services/files/public/c/lib/file_fd_impl.h

Issue 1388413005: Move //mojo/services/X/public/... to //mojo/services/X/... (part 1). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 2 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 | « mojo/services/files/public/c/lib/fd_table.cc ('k') | mojo/services/files/public/c/lib/file_fd_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « mojo/services/files/public/c/lib/fd_table.cc ('k') | mojo/services/files/public/c/lib/file_fd_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698