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

Unified Diff: chrome/browser/chromeos/policy/remote_commands/device_command_screenshot_job.h

Issue 2592983002: [devtools] Support different encodings for Page.CaptureScreenshot. (Closed)
Patch Set: Encode in ui snapshot methods instead. Created 3 years, 12 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: chrome/browser/chromeos/policy/remote_commands/device_command_screenshot_job.h
diff --git a/chrome/browser/chromeos/policy/remote_commands/device_command_screenshot_job.h b/chrome/browser/chromeos/policy/remote_commands/device_command_screenshot_job.h
index b1b588dd699c488c93b40f07007478a1f6bb2122..b78bd48d1e91d5f70924be1b43ccbb744b5325d9 100644
--- a/chrome/browser/chromeos/policy/remote_commands/device_command_screenshot_job.h
+++ b/chrome/browser/chromeos/policy/remote_commands/device_command_screenshot_job.h
@@ -79,7 +79,7 @@ class DeviceCommandScreenshotJob : public RemoteCommandJob,
virtual void TakeSnapshot(
gfx::NativeWindow window,
const gfx::Rect& source_rect,
- const ui::GrabWindowSnapshotAsyncPNGCallback& callback) = 0;
+ const ui::GrabWindowSnapshotAsyncEncodedCallback& callback) = 0;
// Creates a new fully configured instance of an UploadJob. This method
// may be called any number of times.

Powered by Google App Engine
This is Rietveld 408576698