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

Unified Diff: extensions/browser/api/capture_web_contents_function.h

Issue 593503003: Support error handling for Surface readbacks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed unnecessary headers. Created 6 years, 3 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/browser/api/capture_web_contents_function.h
diff --git a/extensions/browser/api/capture_web_contents_function.h b/extensions/browser/api/capture_web_contents_function.h
index 59d3cbe5af6e2ac6133e0c2ec91f29a74ac90019..ba25c9e5c18fd28999a95a5e4bcb6c1ecf42d036 100644
--- a/extensions/browser/api/capture_web_contents_function.h
+++ b/extensions/browser/api/capture_web_contents_function.h
@@ -42,7 +42,9 @@ class CaptureWebContentsFunction : public AsyncExtensionFunction {
private:
typedef core_api::extension_types::ImageDetails ImageDetails;
- void CopyFromBackingStoreComplete(bool succeed, const SkBitmap& bitmap);
+ void CopyFromBackingStoreComplete(bool succeed,
+ const SkBitmap& bitmap,
+ const int& response);
void OnCaptureSuccess(const SkBitmap& bitmap);
// |context_id_| is the ID used to find the relevant WebContents. In the

Powered by Google App Engine
This is Rietveld 408576698