| OLD | NEW | 
|---|
| 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 COMPONENTS_FILESYSTEM_FILE_SYSTEM_IMPL_H_ | 5 #ifndef COMPONENTS_FILESYSTEM_FILE_SYSTEM_IMPL_H_ | 
| 6 #define COMPONENTS_FILESYSTEM_FILE_SYSTEM_IMPL_H_ | 6 #define COMPONENTS_FILESYSTEM_FILE_SYSTEM_IMPL_H_ | 
| 7 | 7 | 
| 8 #include "base/macros.h" | 8 #include "base/macros.h" | 
| 9 #include "components/filesystem/public/interfaces/file_system.mojom.h" | 9 #include "components/filesystem/public/interfaces/file_system.mojom.h" | 
| 10 #include "mojo/public/cpp/bindings/interface_request.h" | 10 #include "mojo/public/cpp/bindings/interface_request.h" | 
| (...skipping 13 matching lines...) Expand all  Loading... | 
| 24 | 24 | 
| 25   // |Files| implementation: | 25   // |Files| implementation: | 
| 26   // We provide a "private" temporary file system as the default. In Debug | 26   // We provide a "private" temporary file system as the default. In Debug | 
| 27   // builds, we also provide access to a common file system named "debug" | 27   // builds, we also provide access to a common file system named "debug" | 
| 28   // (stored under ~/MojoDebug). | 28   // (stored under ~/MojoDebug). | 
| 29   void OpenFileSystem(const mojo::String& file_system, | 29   void OpenFileSystem(const mojo::String& file_system, | 
| 30                       mojo::InterfaceRequest<Directory> directory, | 30                       mojo::InterfaceRequest<Directory> directory, | 
| 31                       const OpenFileSystemCallback& callback) override; | 31                       const OpenFileSystemCallback& callback) override; | 
| 32 | 32 | 
| 33  private: | 33  private: | 
|  | 34   const std::string remote_application_url_; | 
| 34   mojo::StrongBinding<FileSystem> binding_; | 35   mojo::StrongBinding<FileSystem> binding_; | 
| 35 | 36 | 
| 36   DISALLOW_COPY_AND_ASSIGN(FileSystemImpl); | 37   DISALLOW_COPY_AND_ASSIGN(FileSystemImpl); | 
| 37 }; | 38 }; | 
| 38 | 39 | 
| 39 }  // namespace filesystem | 40 }  // namespace filesystem | 
| 40 | 41 | 
| 41 #endif  // COMPONENTS_FILESYSTEM_FILE_SYSTEM_IMPL_H_ | 42 #endif  // COMPONENTS_FILESYSTEM_FILE_SYSTEM_IMPL_H_ | 
| OLD | NEW | 
|---|