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

Side by Side Diff: extensions/browser/api/extensions_api_client.h

Issue 2666763005: API delegate for non-native file systems (Closed)
Patch Set: rebase Created 3 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
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_BROWSER_API_EXTENSIONS_API_CLIENT_H_ 5 #ifndef EXTENSIONS_BROWSER_API_EXTENSIONS_API_CLIENT_H_
6 #define EXTENSIONS_BROWSER_API_EXTENSIONS_API_CLIENT_H_ 6 #define EXTENSIONS_BROWSER_API_EXTENSIONS_API_CLIENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 20 matching lines...) Expand all
31 31
32 class AppViewGuestDelegate; 32 class AppViewGuestDelegate;
33 class ContentRulesRegistry; 33 class ContentRulesRegistry;
34 class DevicePermissionsPrompt; 34 class DevicePermissionsPrompt;
35 class ExtensionOptionsGuest; 35 class ExtensionOptionsGuest;
36 class ExtensionOptionsGuestDelegate; 36 class ExtensionOptionsGuestDelegate;
37 class ManagementAPIDelegate; 37 class ManagementAPIDelegate;
38 class MetricsPrivateDelegate; 38 class MetricsPrivateDelegate;
39 class MimeHandlerViewGuest; 39 class MimeHandlerViewGuest;
40 class MimeHandlerViewGuestDelegate; 40 class MimeHandlerViewGuestDelegate;
41 class NonNativeFileSystemDelegate;
41 class RulesCacheDelegate; 42 class RulesCacheDelegate;
42 class SettingsObserver; 43 class SettingsObserver;
43 class ValueStoreCache; 44 class ValueStoreCache;
44 class ValueStoreFactory; 45 class ValueStoreFactory;
45 class VirtualKeyboardDelegate; 46 class VirtualKeyboardDelegate;
46 class WebRequestEventRouterDelegate; 47 class WebRequestEventRouterDelegate;
47 class WebViewGuest; 48 class WebViewGuest;
48 class WebViewGuestDelegate; 49 class WebViewGuestDelegate;
49 class WebViewPermissionHelper; 50 class WebViewPermissionHelper;
50 class WebViewPermissionHelperDelegate; 51 class WebViewPermissionHelperDelegate;
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 CreateVirtualKeyboardDelegate() const; 126 CreateVirtualKeyboardDelegate() const;
126 127
127 // Creates a delegate for handling the management extension api. 128 // Creates a delegate for handling the management extension api.
128 virtual ManagementAPIDelegate* CreateManagementAPIDelegate() const; 129 virtual ManagementAPIDelegate* CreateManagementAPIDelegate() const;
129 130
130 // If supported by the embedder, returns a delegate for embedder-dependent 131 // If supported by the embedder, returns a delegate for embedder-dependent
131 // MetricsPrivateAPI behavior. 132 // MetricsPrivateAPI behavior.
132 virtual MetricsPrivateDelegate* GetMetricsPrivateDelegate(); 133 virtual MetricsPrivateDelegate* GetMetricsPrivateDelegate();
133 134
134 #if defined(OS_CHROMEOS) 135 #if defined(OS_CHROMEOS)
136 // If supported by the embedder, returns a delegate for querying non-native
137 // file systems.
138 virtual NonNativeFileSystemDelegate* GetNonNativeFileSystemDelegate();
139
135 // Saves image data on clipboard. 140 // Saves image data on clipboard.
136 virtual void SaveImageDataToClipboard( 141 virtual void SaveImageDataToClipboard(
137 const std::vector<char>& image_data, 142 const std::vector<char>& image_data,
138 api::clipboard::ImageType type, 143 api::clipboard::ImageType type,
139 const base::Closure& success_callback, 144 const base::Closure& success_callback,
140 const base::Callback<void(const std::string&)>& error_callback); 145 const base::Callback<void(const std::string&)>& error_callback);
141 #endif 146 #endif
142 147
143 // NOTE: If this interface gains too many methods (perhaps more than 20) it 148 // NOTE: If this interface gains too many methods (perhaps more than 20) it
144 // should be split into one interface per API. 149 // should be split into one interface per API.
145 }; 150 };
146 151
147 } // namespace extensions 152 } // namespace extensions
148 153
149 #endif // EXTENSIONS_BROWSER_API_EXTENSIONS_API_CLIENT_H_ 154 #endif // EXTENSIONS_BROWSER_API_EXTENSIONS_API_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698