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

Side by Side Diff: mojo/services/files/c/lib/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 unified diff | Download patch
« no previous file with comments | « mojo/services/files/c/lib/errno_impl.h ('k') | mojo/services/files/c/lib/fd_table.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SERVICES_FILES_C_LIB_FD_IMPL_H_ 5 #ifndef SERVICES_FILES_C_LIB_FD_IMPL_H_
6 #define SERVICES_FILES_C_LIB_FD_IMPL_H_ 6 #define SERVICES_FILES_C_LIB_FD_IMPL_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "files/public/c/mojio_sys_stat.h" 10 #include "files/c/mojio_sys_stat.h"
11 #include "files/public/c/mojio_sys_types.h" 11 #include "files/c/mojio_sys_types.h"
12 #include "mojo/public/cpp/system/macros.h" 12 #include "mojo/public/cpp/system/macros.h"
13 13
14 namespace mojio { 14 namespace mojio {
15 15
16 class ErrnoImpl; 16 class ErrnoImpl;
17 17
18 // |FDImpl| is an interface for file-descriptor-like objects, on top of which 18 // |FDImpl| is an interface for file-descriptor-like objects, on top of which
19 // <unistd.h>-style (and also <stdio.h>-style) functions may be implemented. 19 // <unistd.h>-style (and also <stdio.h>-style) functions may be implemented.
20 // (For <unistd.h>-style functions, one needs a file descriptor table, since FDs 20 // (For <unistd.h>-style functions, one needs a file descriptor table, since FDs
21 // are integers with a prescribed allocation scheme.) 21 // are integers with a prescribed allocation scheme.)
(...skipping 26 matching lines...) Expand all
48 48
49 private: 49 private:
50 ErrnoImpl* const errno_impl_; 50 ErrnoImpl* const errno_impl_;
51 51
52 MOJO_DISALLOW_COPY_AND_ASSIGN(FDImpl); 52 MOJO_DISALLOW_COPY_AND_ASSIGN(FDImpl);
53 }; 53 };
54 54
55 } // namespace mojio 55 } // namespace mojio
56 56
57 #endif // SERVICES_FILES_C_LIB_FD_IMPL_H_ 57 #endif // SERVICES_FILES_C_LIB_FD_IMPL_H_
OLDNEW
« no previous file with comments | « mojo/services/files/c/lib/errno_impl.h ('k') | mojo/services/files/c/lib/fd_table.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698