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

Side by Side Diff: chrome/browser/extensions/api/chrome_extensions_api_client.h

Issue 2934143002: Move chrome.fileSystem implementation to //extensions (Closed)
Patch Set: rebase 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 CHROME_BROWSER_EXTENSIONS_API_CHROME_EXTENSIONS_API_CLIENT_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_CHROME_EXTENSIONS_API_CLIENT_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_CHROME_EXTENSIONS_API_CLIENT_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_CHROME_EXTENSIONS_API_CLIENT_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "extensions/browser/api/extensions_api_client.h" 10 #include "extensions/browser/api/extensions_api_client.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 scoped_refptr<ContentRulesRegistry> CreateContentRulesRegistry( 48 scoped_refptr<ContentRulesRegistry> CreateContentRulesRegistry(
49 content::BrowserContext* browser_context, 49 content::BrowserContext* browser_context,
50 RulesCacheDelegate* cache_delegate) const override; 50 RulesCacheDelegate* cache_delegate) const override;
51 std::unique_ptr<DevicePermissionsPrompt> CreateDevicePermissionsPrompt( 51 std::unique_ptr<DevicePermissionsPrompt> CreateDevicePermissionsPrompt(
52 content::WebContents* web_contents) const override; 52 content::WebContents* web_contents) const override;
53 std::unique_ptr<VirtualKeyboardDelegate> CreateVirtualKeyboardDelegate() 53 std::unique_ptr<VirtualKeyboardDelegate> CreateVirtualKeyboardDelegate()
54 const override; 54 const override;
55 ManagementAPIDelegate* CreateManagementAPIDelegate() const override; 55 ManagementAPIDelegate* CreateManagementAPIDelegate() const override;
56 MetricsPrivateDelegate* GetMetricsPrivateDelegate() override; 56 MetricsPrivateDelegate* GetMetricsPrivateDelegate() override;
57 NetworkingCastPrivateDelegate* GetNetworkingCastPrivateDelegate() override; 57 NetworkingCastPrivateDelegate* GetNetworkingCastPrivateDelegate() override;
58 FileSystemDelegate* GetFileSystemDelegate() override;
58 59
59 #if defined(OS_CHROMEOS) 60 #if defined(OS_CHROMEOS)
60 NonNativeFileSystemDelegate* GetNonNativeFileSystemDelegate() override; 61 NonNativeFileSystemDelegate* GetNonNativeFileSystemDelegate() override;
61 62
62 void SaveImageDataToClipboard( 63 void SaveImageDataToClipboard(
63 const std::vector<char>& image_data, 64 const std::vector<char>& image_data,
64 api::clipboard::ImageType type, 65 api::clipboard::ImageType type,
65 AdditionalDataItemList additional_items, 66 AdditionalDataItemList additional_items,
66 const base::Closure& success_callback, 67 const base::Closure& success_callback,
67 const base::Callback<void(const std::string&)>& error_callback) override; 68 const base::Callback<void(const std::string&)>& error_callback) override;
68 #endif 69 #endif
69 70
70 private: 71 private:
71 std::unique_ptr<ChromeMetricsPrivateDelegate> metrics_private_delegate_; 72 std::unique_ptr<ChromeMetricsPrivateDelegate> metrics_private_delegate_;
72 std::unique_ptr<NetworkingCastPrivateDelegate> 73 std::unique_ptr<NetworkingCastPrivateDelegate>
73 networking_cast_private_delegate_; 74 networking_cast_private_delegate_;
75 std::unique_ptr<FileSystemDelegate> file_system_delegate_;
74 76
75 #if defined(OS_CHROMEOS) 77 #if defined(OS_CHROMEOS)
76 std::unique_ptr<NonNativeFileSystemDelegate> non_native_file_system_delegate_; 78 std::unique_ptr<NonNativeFileSystemDelegate> non_native_file_system_delegate_;
77 std::unique_ptr<ClipboardExtensionHelper> clipboard_extension_helper_; 79 std::unique_ptr<ClipboardExtensionHelper> clipboard_extension_helper_;
78 #endif 80 #endif
79 81
80 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsAPIClient); 82 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsAPIClient);
81 }; 83 };
82 84
83 } // namespace extensions 85 } // namespace extensions
84 86
85 #endif // CHROME_BROWSER_EXTENSIONS_API_CHROME_EXTENSIONS_API_CLIENT_H_ 87 #endif // CHROME_BROWSER_EXTENSIONS_API_CHROME_EXTENSIONS_API_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/BUILD.gn ('k') | chrome/browser/extensions/api/chrome_extensions_api_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698