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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: extensions/shell/browser/shell_extensions_api_client.h
diff --git a/extensions/shell/browser/shell_extensions_api_client.h b/extensions/shell/browser/shell_extensions_api_client.h
index d42429aa0817f4501262444aabc715726fe8dd7c..6a26bea1f1c0d469e5c4b5af5f2562118f948674 100644
--- a/extensions/shell/browser/shell_extensions_api_client.h
+++ b/extensions/shell/browser/shell_extensions_api_client.h
@@ -9,6 +9,8 @@
#include "extensions/browser/api/extensions_api_client.h"
+#include "build/build_config.h"
+
namespace extensions {
class VirtualKeyboardDelegate;
@@ -16,6 +18,7 @@ class VirtualKeyboardDelegate;
class ShellExtensionsAPIClient : public ExtensionsAPIClient {
public:
ShellExtensionsAPIClient();
+ ~ShellExtensionsAPIClient() override;
// ExtensionsAPIClient implementation.
void AttachWebContentsHelpers(content::WebContents* web_contents) const
@@ -23,6 +26,16 @@ class ShellExtensionsAPIClient : public ExtensionsAPIClient {
AppViewGuestDelegate* CreateAppViewGuestDelegate() const override;
std::unique_ptr<VirtualKeyboardDelegate> CreateVirtualKeyboardDelegate()
const override;
+#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
+ FileSystemDelegate* GetFileSystemDelegate() override;
+#endif
+
+ private:
+#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
+ std::unique_ptr<FileSystemDelegate> file_system_delegate_;
+#endif
+
+ DISALLOW_COPY_AND_ASSIGN(ShellExtensionsAPIClient);
};
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698