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

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

Issue 2215133002: Change signature of OnConnect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cleanup
Patch Set: . Created 4 years, 4 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
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_APP_H_ 5 #ifndef COMPONENTS_FILESYSTEM_FILE_SYSTEM_APP_H_
6 #define COMPONENTS_FILESYSTEM_FILE_SYSTEM_APP_H_ 6 #define COMPONENTS_FILESYSTEM_FILE_SYSTEM_APP_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "components/filesystem/directory_impl.h" 9 #include "components/filesystem/directory_impl.h"
10 #include "components/filesystem/file_system_impl.h" 10 #include "components/filesystem/file_system_impl.h"
(...skipping 14 matching lines...) Expand all
25 public: 25 public:
26 FileSystemApp(); 26 FileSystemApp();
27 ~FileSystemApp() override; 27 ~FileSystemApp() override;
28 28
29 private: 29 private:
30 // Gets the system specific toplevel profile directory. 30 // Gets the system specific toplevel profile directory.
31 static base::FilePath GetUserDataDir(); 31 static base::FilePath GetUserDataDir();
32 32
33 // |shell::Service| override: 33 // |shell::Service| override:
34 void OnStart(const shell::Identity& identity) override; 34 void OnStart(const shell::Identity& identity) override;
35 bool OnConnect(shell::Connection* connection) override; 35 bool OnConnect(const shell::Identity& remote_identity,
36 shell::InterfaceRegistry* registry) override;
36 37
37 // |InterfaceFactory<Files>| implementation: 38 // |InterfaceFactory<Files>| implementation:
38 void Create(const shell::Identity& remote_identity, 39 void Create(const shell::Identity& remote_identity,
39 mojo::InterfaceRequest<mojom::FileSystem> request) override; 40 mojo::InterfaceRequest<mojom::FileSystem> request) override;
40 41
41 tracing::Provider tracing_; 42 tracing::Provider tracing_;
42 43
43 scoped_refptr<LockTable> lock_table_; 44 scoped_refptr<LockTable> lock_table_;
44 45
45 DISALLOW_COPY_AND_ASSIGN(FileSystemApp); 46 DISALLOW_COPY_AND_ASSIGN(FileSystemApp);
46 }; 47 };
47 48
48 } // namespace filesystem 49 } // namespace filesystem
49 50
50 #endif // COMPONENTS_FILESYSTEM_FILE_SYSTEM_APP_H_ 51 #endif // COMPONENTS_FILESYSTEM_FILE_SYSTEM_APP_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/chrome_interface_factory.cc ('k') | components/filesystem/file_system_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698