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

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

Issue 1675083002: Rename ApplicationDelegate to ShellClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@delegate
Patch Set: . Created 4 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
« no previous file with comments | « components/filesystem/file_system_app.cc ('k') | components/filesystem/file_system_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
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"
11 #include "mojo/public/cpp/bindings/strong_binding.h" 11 #include "mojo/public/cpp/bindings/strong_binding.h"
12 12
13 namespace base { 13 namespace base {
14 class FilePath; 14 class FilePath;
15 } 15 }
16 16
17 namespace mojo { 17 namespace mojo {
18 class ApplicationConnection; 18 class Connection;
19 } 19 }
20 20
21 namespace filesystem { 21 namespace filesystem {
22 class FileSystemApp; 22 class FileSystemApp;
23 23
24 class FileSystemImpl : public FileSystem { 24 class FileSystemImpl : public FileSystem {
25 public: 25 public:
26 FileSystemImpl(FileSystemApp* app, 26 FileSystemImpl(FileSystemApp* app,
27 mojo::ApplicationConnection* connection, 27 mojo::Connection* connection,
28 mojo::InterfaceRequest<FileSystem> request); 28 mojo::InterfaceRequest<FileSystem> request);
29 ~FileSystemImpl() override; 29 ~FileSystemImpl() override;
30 30
31 // |Files| implementation: 31 // |Files| implementation:
32 32
33 // Current valid values for |file_system| are "temp" for a temporary 33 // Current valid values for |file_system| are "temp" for a temporary
34 // filesystem and "origin" for a persistent filesystem bound to the origin of 34 // filesystem and "origin" for a persistent filesystem bound to the origin of
35 // the URL of the caller. 35 // the URL of the caller.
36 void OpenFileSystem(const mojo::String& file_system, 36 void OpenFileSystem(const mojo::String& file_system,
37 mojo::InterfaceRequest<Directory> directory, 37 mojo::InterfaceRequest<Directory> directory,
(...skipping 14 matching lines...) Expand all
52 FileSystemApp* app_; 52 FileSystemApp* app_;
53 const std::string remote_application_url_; 53 const std::string remote_application_url_;
54 mojo::StrongBinding<FileSystem> binding_; 54 mojo::StrongBinding<FileSystem> binding_;
55 55
56 DISALLOW_COPY_AND_ASSIGN(FileSystemImpl); 56 DISALLOW_COPY_AND_ASSIGN(FileSystemImpl);
57 }; 57 };
58 58
59 } // namespace filesystem 59 } // namespace filesystem
60 60
61 #endif // COMPONENTS_FILESYSTEM_FILE_SYSTEM_IMPL_H_ 61 #endif // COMPONENTS_FILESYSTEM_FILE_SYSTEM_IMPL_H_
OLDNEW
« no previous file with comments | « components/filesystem/file_system_app.cc ('k') | components/filesystem/file_system_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698