| Index: services/file_manager/file_manager_impl.h
|
| diff --git a/services/file_manager/file_manager_impl.h b/services/file_manager/file_manager_impl.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d1507145a7ccb65eb468e963c4c0223e001c5dfa
|
| --- /dev/null
|
| +++ b/services/file_manager/file_manager_impl.h
|
| @@ -0,0 +1,39 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef SERVICES_FILE_MANAGER_FILE_MANAGER_IMPL_H_
|
| +#define SERVICES_FILE_MANAGER_FILE_MANAGER_IMPL_H_
|
| +
|
| +#include "base/macros.h"
|
| +#include "mojo/public/cpp/bindings/interface_request.h"
|
| +#include "mojo/public/cpp/bindings/strong_binding.h"
|
| +#include "services/file_manager/file_manager.mojom.h"
|
| +
|
| +namespace mojo {
|
| +
|
| +class ApplicationConnection;
|
| +
|
| +namespace files {
|
| +
|
| +class FileManagerImpl : public FileManager {
|
| + public:
|
| + FileManagerImpl(ApplicationConnection* connection,
|
| + InterfaceRequest<FileManager> request);
|
| + ~FileManagerImpl() override;
|
| +
|
| + // |FileManager| implementation:
|
| + void OpenFileSystem(FileSystem file_system,
|
| + InterfaceRequest<Directory> directory,
|
| + const Callback<void(Error)>& callback) override;
|
| +
|
| + private:
|
| + StrongBinding<FileManager> binding_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(FileManagerImpl);
|
| +};
|
| +
|
| +} // namespace files
|
| +} // namespace mojo
|
| +
|
| +#endif // SERVICES_FILE_MANAGER_FILE_MANAGER_IMPL_H_
|
|
|