| Index: chrome/browser/chromeos/policy/remote_commands/device_command_screenshot_job_unittest.cc
|
| diff --git a/chrome/browser/chromeos/policy/remote_commands/device_command_screenshot_job_unittest.cc b/chrome/browser/chromeos/policy/remote_commands/device_command_screenshot_job_unittest.cc
|
| index 5775b3694c0ef83aaaad3becacfbf16cad69feb6..cf767dadfcbc0bd480d86ea947a5a377a42363b4 100644
|
| --- a/chrome/browser/chromeos/policy/remote_commands/device_command_screenshot_job_unittest.cc
|
| +++ b/chrome/browser/chromeos/policy/remote_commands/device_command_screenshot_job_unittest.cc
|
| @@ -148,7 +148,7 @@ class MockScreenshotDelegate : public DeviceCommandScreenshotJob::Delegate {
|
| void TakeSnapshot(
|
| gfx::NativeWindow window,
|
| const gfx::Rect& source_rect,
|
| - const ui::GrabWindowSnapshotAsyncPNGCallback& callback) override;
|
| + const ui::GrabWindowSnapshotAsyncEncodedCallback& callback) override;
|
| std::unique_ptr<UploadJob> CreateUploadJob(const GURL&,
|
| UploadJob::Delegate*) override;
|
|
|
| @@ -173,7 +173,7 @@ bool MockScreenshotDelegate::IsScreenshotAllowed() {
|
| void MockScreenshotDelegate::TakeSnapshot(
|
| gfx::NativeWindow window,
|
| const gfx::Rect& source_rect,
|
| - const ui::GrabWindowSnapshotAsyncPNGCallback& callback) {
|
| + const ui::GrabWindowSnapshotAsyncEncodedCallback& callback) {
|
| const int width = source_rect.width();
|
| const int height = source_rect.height();
|
| scoped_refptr<base::RefCountedBytes> test_png =
|
|
|