| Index: extensions/browser/extensions_browser_client.h
|
| diff --git a/extensions/browser/extensions_browser_client.h b/extensions/browser/extensions_browser_client.h
|
| index c27ae730663b75f95d0985b78f29ba111fdff8ee..0c227eaebb6d9f3e8d97d113bfad90e338915475 100644
|
| --- a/extensions/browser/extensions_browser_client.h
|
| +++ b/extensions/browser/extensions_browser_client.h
|
| @@ -222,6 +222,13 @@ class ExtensionsBrowserClient {
|
| // is left up to the embedder.
|
| virtual bool IsMinBrowserVersionSupported(const std::string& min_version) = 0;
|
|
|
| + // Saves image data on clipboard.
|
| + virtual void SaveImageDataToClipboard(
|
| + const std::vector<char>& image_data,
|
| + const std::string& type,
|
| + const base::Closure& success_callback,
|
| + const base::Closure& error_callback) = 0;
|
| +
|
| // Embedders can override this function to handle extension errors.
|
| virtual void ReportError(content::BrowserContext* context,
|
| std::unique_ptr<ExtensionError> error);
|
|
|