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

Unified Diff: extensions/shell/browser/shell_extensions_browser_client.h

Issue 2379573008: Add SetImageData api to chrome.clipboard. (Closed)
Patch Set: Add a warning in clipboard.idl about the future deprecation plan. Created 4 years 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_browser_client.h
diff --git a/extensions/shell/browser/shell_extensions_browser_client.h b/extensions/shell/browser/shell_extensions_browser_client.h
index 4b161f417f5de4fb3d428df1d23507c463e2a698..11e919c4953b523b61dfb117e0e8b8e40d615d33 100644
--- a/extensions/shell/browser/shell_extensions_browser_client.h
+++ b/extensions/shell/browser/shell_extensions_browser_client.h
@@ -44,6 +44,10 @@ class ShellExtensionsBrowserClient : public ExtensionsBrowserClient {
#if defined(OS_CHROMEOS)
std::string GetUserIdHashFromContext(
content::BrowserContext* context) override;
+ void SaveImageDataToClipboard(const std::vector<char>& image_data,
+ api::clipboard::ImageType type,
+ const base::Closure& success_callback,
+ const ErrorCallback& error_callback) override;
#endif
bool IsGuestSession(content::BrowserContext* context) const override;
bool IsExtensionIncognitoEnabled(

Powered by Google App Engine
This is Rietveld 408576698