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

Side by Side Diff: extensions/shell/browser/shell_extensions_api_client.h

Issue 2962793002: AppShell: Enable chrome.fileSystem.retainEntry/restoreEntry (Closed)
Patch Set: Remove extraneous DEPS Created 3 years, 5 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_API_CLIENT_H_ 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_API_CLIENT_H_
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_API_CLIENT_H_ 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_API_CLIENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "extensions/browser/api/extensions_api_client.h" 10 #include "extensions/browser/api/extensions_api_client.h"
11 11
12 #include "build/build_config.h"
13
12 namespace extensions { 14 namespace extensions {
13 15
14 class VirtualKeyboardDelegate; 16 class VirtualKeyboardDelegate;
15 17
16 class ShellExtensionsAPIClient : public ExtensionsAPIClient { 18 class ShellExtensionsAPIClient : public ExtensionsAPIClient {
17 public: 19 public:
18 ShellExtensionsAPIClient(); 20 ShellExtensionsAPIClient();
21 ~ShellExtensionsAPIClient() override;
19 22
20 // ExtensionsAPIClient implementation. 23 // ExtensionsAPIClient implementation.
21 void AttachWebContentsHelpers(content::WebContents* web_contents) const 24 void AttachWebContentsHelpers(content::WebContents* web_contents) const
22 override; 25 override;
23 AppViewGuestDelegate* CreateAppViewGuestDelegate() const override; 26 AppViewGuestDelegate* CreateAppViewGuestDelegate() const override;
24 std::unique_ptr<VirtualKeyboardDelegate> CreateVirtualKeyboardDelegate() 27 std::unique_ptr<VirtualKeyboardDelegate> CreateVirtualKeyboardDelegate()
25 const override; 28 const override;
29 #if defined(OS_LINUX) && !defined(OS_CHROMEOS)
30 FileSystemDelegate* GetFileSystemDelegate() override;
31 #endif
32
33 private:
34 #if defined(OS_LINUX) && !defined(OS_CHROMEOS)
35 std::unique_ptr<FileSystemDelegate> file_system_delegate_;
36 #endif
37
38 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsAPIClient);
26 }; 39 };
27 40
28 } // namespace extensions 41 } // namespace extensions
29 42
30 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_API_CLIENT_H_ 43 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_API_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698