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

Unified Diff: chrome/browser/ui/pdf/pdf_browsertest_base.h

Issue 593503003: Support error handling for Surface readbacks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Formatted code and fixed build issue in test. Created 6 years, 1 month 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: chrome/browser/ui/pdf/pdf_browsertest_base.h
diff --git a/chrome/browser/ui/pdf/pdf_browsertest_base.h b/chrome/browser/ui/pdf/pdf_browsertest_base.h
index e60cd46b5b92be90774701381e8e9f9f33294f95..4beecd46070dc6ed59f31792fe4c4338541dd7f3 100644
--- a/chrome/browser/ui/pdf/pdf_browsertest_base.h
+++ b/chrome/browser/ui/pdf/pdf_browsertest_base.h
@@ -10,6 +10,7 @@
#include "base/files/file_path.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "content/public/browser/notification_observer.h"
+#include "content/public/browser/readback_types.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
namespace base {
@@ -42,7 +43,8 @@ class PDFBrowserTest : public InProcessBrowserTest,
bool VerifySnapshot(const std::string& expected_filename);
private:
- void CopyFromBackingStoreCallback(bool success, const SkBitmap& bitmap);
+ void CopyFromBackingStoreCallback(const SkBitmap& bitmap,
+ content::ReadbackResponse response);
// content::NotificationObserver
virtual void Observe(int type,

Powered by Google App Engine
This is Rietveld 408576698