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

Side by Side Diff: services/files/files_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/files.mojom ('k') | services/files/files_test_base.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_FILES_IMPL_H_ 5 #ifndef SERVICES_FILES_FILES_IMPL_H_
6 #define SERVICES_FILES_FILES_IMPL_H_ 6 #define SERVICES_FILES_FILES_IMPL_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "mojo/public/cpp/bindings/interface_request.h" 9 #include "mojo/public/cpp/bindings/interface_request.h"
10 #include "mojo/public/cpp/bindings/strong_binding.h" 10 #include "mojo/public/cpp/bindings/strong_binding.h"
11 #include "services/files/files.mojom.h" 11 #include "mojo/services/files/public/interfaces/files.mojom.h"
12 12
13 namespace mojo { 13 namespace mojo {
14 14
15 class ApplicationConnection; 15 class ApplicationConnection;
16 16
17 namespace files { 17 namespace files {
18 18
19 class FilesImpl : public Files { 19 class FilesImpl : public Files {
20 public: 20 public:
21 FilesImpl(ApplicationConnection* connection, InterfaceRequest<Files> request); 21 FilesImpl(ApplicationConnection* connection, InterfaceRequest<Files> request);
22 ~FilesImpl() override; 22 ~FilesImpl() override;
23 23
24 // |Files| implementation: 24 // |Files| implementation:
25 void OpenFileSystem(FileSystem file_system, 25 void OpenFileSystem(FileSystem file_system,
26 InterfaceRequest<Directory> directory, 26 InterfaceRequest<Directory> directory,
27 const Callback<void(Error)>& callback) override; 27 const Callback<void(Error)>& callback) override;
28 28
29 private: 29 private:
30 StrongBinding<Files> binding_; 30 StrongBinding<Files> binding_;
31 31
32 DISALLOW_COPY_AND_ASSIGN(FilesImpl); 32 DISALLOW_COPY_AND_ASSIGN(FilesImpl);
33 }; 33 };
34 34
35 } // namespace files 35 } // namespace files
36 } // namespace mojo 36 } // namespace mojo
37 37
38 #endif // SERVICES_FILES_FILES_IMPL_H_ 38 #endif // SERVICES_FILES_FILES_IMPL_H_
OLDNEW
« no previous file with comments | « services/files/files.mojom ('k') | services/files/files_test_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698