| Index: mojo/services/files/public/c/lib/directory_wrapper.h
|
| diff --git a/mojo/services/files/public/c/lib/directory_wrapper.h b/mojo/services/files/public/c/lib/directory_wrapper.h
|
| deleted file mode 100644
|
| index 90df8c0753fb1659d44a1ea4b2f02ddcf03e8adf..0000000000000000000000000000000000000000
|
| --- a/mojo/services/files/public/c/lib/directory_wrapper.h
|
| +++ /dev/null
|
| @@ -1,44 +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_DIRECTORY_WRAPPER_H_
|
| -#define SERVICES_FILES_C_LIB_DIRECTORY_WRAPPER_H_
|
| -
|
| -#include <memory>
|
| -
|
| -#include "files/public/c/mojio_sys_types.h"
|
| -#include "files/public/interfaces/directory.mojom.h"
|
| -#include "mojo/public/c/system/macros.h"
|
| -
|
| -namespace mojio {
|
| -
|
| -class ErrnoImpl;
|
| -class FDImpl;
|
| -
|
| -// TODO(vtl): Probably this should be made into an implementation of |FDImpl|
|
| -// (with additional methods) and renamed |DirectoryFDImpl|, to support opening
|
| -// directories, |openat()|, etc>
|
| -class DirectoryWrapper {
|
| - public:
|
| - DirectoryWrapper(ErrnoImpl* errno_impl, mojo::files::DirectoryPtr directory);
|
| - ~DirectoryWrapper();
|
| -
|
| - std::unique_ptr<FDImpl> Open(const char* path, int oflag, mojio_mode_t mode);
|
| - bool Chdir(const char* path);
|
| -
|
| - // TODO(vtl): MkDir(), etc.
|
| -
|
| - // Mostly for tests:
|
| - mojo::files::DirectoryPtr& directory() { return directory_; }
|
| -
|
| - private:
|
| - ErrnoImpl* const errno_impl_;
|
| - mojo::files::DirectoryPtr directory_;
|
| -
|
| - MOJO_DISALLOW_COPY_AND_ASSIGN(DirectoryWrapper);
|
| -};
|
| -
|
| -} // namespace mojio
|
| -
|
| -#endif // SERVICES_FILES_C_LIB_DIRECTORY_WRAPPER_H_
|
|
|