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 7effacd8f46fb2b82277224a911e4b29e8a397ae..9f60234104d0db2760f335efb7778d6de2212586 100644 |
--- a/extensions/browser/api/capture_web_contents_function.h |
+++ b/extensions/browser/api/capture_web_contents_function.h |
@@ -5,6 +5,7 @@ |
#ifndef EXTENSIONS_BROWSER_API_CAPTURE_WEB_CONTENTS_FUNCTION_H_ |
#define EXTENSIONS_BROWSER_API_CAPTURE_WEB_CONTENTS_FUNCTION_H_ |
+#include "content/public/browser/readback_types.h" |
#include "extensions/browser/extension_function.h" |
#include "extensions/common/api/extension_types.h" |
@@ -42,7 +43,8 @@ class CaptureWebContentsFunction : public AsyncExtensionFunction { |
private: |
typedef core_api::extension_types::ImageDetails ImageDetails; |
- void CopyFromBackingStoreComplete(bool succeed, const SkBitmap& bitmap); |
+ void CopyFromBackingStoreComplete(const SkBitmap& bitmap, |
+ content::ReadbackResponse response); |
void OnCaptureSuccess(const SkBitmap& bitmap); |
// |context_id_| is the ID used to find the relevant WebContents. In the |