| Index: native_client_sdk/src/libraries/nacl_io/mount_stream.h
|
| diff --git a/native_client_sdk/src/libraries/nacl_io/mount_socket.h b/native_client_sdk/src/libraries/nacl_io/mount_stream.h
|
| similarity index 64%
|
| rename from native_client_sdk/src/libraries/nacl_io/mount_socket.h
|
| rename to native_client_sdk/src/libraries/nacl_io/mount_stream.h
|
| index f235232c949bf225995c7019ede78ae6f73b7869..06446c7efbfa8463c5ed74f627655d3ff087e544 100644
|
| --- a/native_client_sdk/src/libraries/nacl_io/mount_socket.h
|
| +++ b/native_client_sdk/src/libraries/nacl_io/mount_stream.h
|
| @@ -2,19 +2,19 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef LIBRARIES_NACL_IO_MOUNT_SOCKET_H_
|
| -#define LIBRARIES_NACL_IO_MOUNT_SOCKET_H_
|
| -
|
| -#include "nacl_io/ossocket.h"
|
| -#ifdef PROVIDES_SOCKET_API
|
| +#ifndef LIBRARIES_NACL_IO_MOUNT_STREAM_H_
|
| +#define LIBRARIES_NACL_IO_MOUNT_STREAM_H_
|
|
|
| #include "nacl_io/mount.h"
|
|
|
| namespace nacl_io {
|
|
|
| -class MountSocket : public Mount {
|
| +// MountStreams provides a "mount point" for stream objects which do not
|
| +// provide a path, such as FDs returned by pipe, socket, and sockpair.
|
| +
|
| +class MountStream : public Mount {
|
| protected:
|
| - MountSocket();
|
| + MountStream();
|
|
|
| private:
|
| virtual Error Access(const Path& path, int a_mode);
|
| @@ -28,10 +28,9 @@ class MountSocket : public Mount {
|
|
|
| private:
|
| friend class KernelProxy;
|
| - DISALLOW_COPY_AND_ASSIGN(MountSocket);
|
| + DISALLOW_COPY_AND_ASSIGN(MountStream);
|
| };
|
|
|
| } // namespace nacl_io
|
|
|
| -#endif // PROVIDES_SOCKET_API
|
| -#endif // LIBRARIES_NACL_IO_MOUNT_SOCKET_H_
|
| +#endif // LIBRARIES_NACL_IO_MOUNT_STREAM_H_
|
|
|