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

Side by Side Diff: native_client_sdk/src/libraries/nacl_io/mount_socket.h

Issue 22587003: [NaCl SDK] Add UDP and TCP Sockets (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Running tests on package Created 7 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef LIBRARIES_NACL_IO_MOUNT_SOCKET_H_
6 #define LIBRARIES_NACL_IO_MOUNT_SOCKET_H_
7
8 #include "nacl_io/ossocket.h"
9 #ifdef PROVIDES_SOCKET_API
10
11 #include <list>
binji 2013/08/09 19:28:06 unused
noelallen1 2013/08/09 22:53:22 Done.
12
13 #include <ppapi/c/pp_resource.h>
binji 2013/08/09 19:28:06 unused
noelallen1 2013/08/09 22:53:22 Done.
14 #include "nacl_io/mount.h"
15
16 namespace nacl_io {
17
18 class MountNodeSocket;
binji 2013/08/09 19:28:06 unused
noelallen1 2013/08/09 22:53:22 Done.
19
20 class MountSocket : public Mount {
21 protected:
22 MountSocket();
23
24 private:
25 virtual Error Access(const Path& path, int a_mode);
26 virtual Error Open(const Path& path,
27 int o_flags,
28 ScopedMountNode* out_node);
29 virtual Error Unlink(const Path& path);
30 virtual Error Mkdir(const Path& path, int permissions);
31 virtual Error Rmdir(const Path& path);
32 virtual Error Remove(const Path& path);
33
34 private:
35 friend class KernelProxy;
36 DISALLOW_COPY_AND_ASSIGN(MountSocket);
37 };
38
39 } // namespace nacl_io
40
41 #endif // PROVIDES_SOCKET_API
42 #endif // LIBRARIES_NACL_IO_MOUNT_SOCKET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698