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

Unified Diff: ui/snapshot/snapshot_async.h

Issue 2592983002: [devtools] Support different encodings for Page.CaptureScreenshot. (Closed)
Patch Set: Wait for load in CaptureScreenshotTest to fix android bot. Created 3 years, 11 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: ui/snapshot/snapshot_async.h
diff --git a/ui/snapshot/snapshot_async.h b/ui/snapshot/snapshot_async.h
index 364f76c26d9fb88d9bf89aee28062e917f0207d8..79928e0ac2e305772ae161b98691af58daa7a820 100644
--- a/ui/snapshot/snapshot_async.h
+++ b/ui/snapshot/snapshot_async.h
@@ -31,9 +31,8 @@ class SnapshotAsync {
scoped_refptr<base::TaskRunner> background_task_runner,
std::unique_ptr<cc::CopyOutputResult> result);
- static void EncodeCopyOutputResult(
- const GrabWindowSnapshotAsyncPNGCallback& callback,
- scoped_refptr<base::TaskRunner> background_task_runner,
+ static void RunCallbackWithCopyOutputResult(
+ const GrabWindowSnapshotAsyncCallback& callback,
std::unique_ptr<cc::CopyOutputResult> result);
private:

Powered by Google App Engine
This is Rietveld 408576698