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

Side by Side Diff: components/filesystem/files_impl.h

Issue 1147083002: mandoline: Fork the files service from the mojo repository. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: I think the problem was in the mandoline build.gn Created 5 years, 7 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 | « components/filesystem/file_impl_unittest.cc ('k') | components/filesystem/files_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_FILES_FILES_IMPL_H_
6 #define SERVICES_FILES_FILES_IMPL_H_
7
8 #include "base/macros.h"
9 #include "components/filesystem/public/interfaces/files.mojom.h"
10 #include "mojo/public/cpp/bindings/interface_request.h"
11 #include "mojo/public/cpp/bindings/strong_binding.h"
12
13 namespace mojo {
14
15 class ApplicationConnection;
16
17 namespace files {
18
19 class FilesImpl : public Files {
20 public:
21 FilesImpl(ApplicationConnection* connection, InterfaceRequest<Files> request);
22 ~FilesImpl() override;
23
24 // |Files| implementation:
25 // We provide a "private" temporary file system as the default. In Debug
26 // builds, we also provide access to a common file system named "debug"
27 // (stored under ~/MojoDebug).
28 void OpenFileSystem(const mojo::String& file_system,
29 InterfaceRequest<Directory> directory,
30 const OpenFileSystemCallback& callback) override;
31
32 private:
33 StrongBinding<Files> binding_;
34
35 DISALLOW_COPY_AND_ASSIGN(FilesImpl);
36 };
37
38 } // namespace files
39 } // namespace mojo
40
41 #endif // SERVICES_FILES_FILES_IMPL_H_
OLDNEW
« no previous file with comments | « components/filesystem/file_impl_unittest.cc ('k') | components/filesystem/files_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698