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

Side by Side Diff: services/files/file_impl.h

Issue 1013313002: Move services/files/*.mojom -> mojo/services/files/public/interfaces/. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 | « services/files/file.mojom ('k') | services/files/files.mojom » ('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_FILE_IMPL_H_ 5 #ifndef SERVICES_FILES_FILE_IMPL_H_
6 #define SERVICES_FILES_FILE_IMPL_H_ 6 #define SERVICES_FILES_FILE_IMPL_H_
7 7
8 #include "base/files/scoped_file.h" 8 #include "base/files/scoped_file.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "mojo/public/cpp/bindings/interface_request.h" 10 #include "mojo/public/cpp/bindings/interface_request.h"
11 #include "mojo/public/cpp/bindings/strong_binding.h" 11 #include "mojo/public/cpp/bindings/strong_binding.h"
12 #include "services/files/directory.mojom.h" 12 #include "mojo/services/files/public/interfaces/directory.mojom.h"
13 13
14 namespace mojo { 14 namespace mojo {
15 namespace files { 15 namespace files {
16 16
17 class FileImpl : public File { 17 class FileImpl : public File {
18 public: 18 public:
19 // TODO(vtl): Will need more for, e.g., |Reopen()|. 19 // TODO(vtl): Will need more for, e.g., |Reopen()|.
20 FileImpl(InterfaceRequest<File> request, base::ScopedFD file_fd); 20 FileImpl(InterfaceRequest<File> request, base::ScopedFD file_fd);
21 ~FileImpl() override; 21 ~FileImpl() override;
22 22
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 StrongBinding<File> binding_; 60 StrongBinding<File> binding_;
61 base::ScopedFD file_fd_; 61 base::ScopedFD file_fd_;
62 62
63 DISALLOW_COPY_AND_ASSIGN(FileImpl); 63 DISALLOW_COPY_AND_ASSIGN(FileImpl);
64 }; 64 };
65 65
66 } // namespace files 66 } // namespace files
67 } // namespace mojo 67 } // namespace mojo
68 68
69 #endif // SERVICES_FILES_FILE_IMPL_H_ 69 #endif // SERVICES_FILES_FILE_IMPL_H_
OLDNEW
« no previous file with comments | « services/files/file.mojom ('k') | services/files/files.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698