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

Side by Side Diff: services/file_manager/file_manager_impl.h

Issue 875643004: Prototype of Files service. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: wipwipwip Created 5 years, 10 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef SERVICES_FILE_MANAGER_FILE_MANAGER_IMPL_H_
6 #define SERVICES_FILE_MANAGER_FILE_MANAGER_IMPL_H_
7
8 #include "base/macros.h"
9 #include "mojo/public/cpp/bindings/interface_request.h"
10 #include "mojo/public/cpp/bindings/strong_binding.h"
11 #include "services/file_manager/file_manager.mojom.h"
12
13 namespace mojo {
14
15 class ApplicationConnection;
16
17 namespace files {
18
19 class FileManagerImpl : public FileManager {
20 public:
21 FileManagerImpl(ApplicationConnection* connection,
22 InterfaceRequest<FileManager> request);
23 ~FileManagerImpl() override;
24
25 // |FileManager| implementation:
26 void OpenFileSystem(FileSystem file_system,
27 InterfaceRequest<Directory> directory,
28 const Callback<void(Error)>& callback) override;
29
30 private:
31 StrongBinding<FileManager> binding_;
32
33 DISALLOW_COPY_AND_ASSIGN(FileManagerImpl);
34 };
35
36 } // namespace files
37 } // namespace mojo
38
39 #endif // SERVICES_FILE_MANAGER_FILE_MANAGER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698