Index: chrome/browser/chromeos/policy/remote_commands/screenshot_delegate.cc |
diff --git a/chrome/browser/chromeos/policy/remote_commands/screenshot_delegate.cc b/chrome/browser/chromeos/policy/remote_commands/screenshot_delegate.cc |
index fe9264c2a3ce02e1b5356ddf8dc2b4a259381a3c..70ef1648cf91c2f90d8586c617a9d4885d81d6b3 100644 |
--- a/chrome/browser/chromeos/policy/remote_commands/screenshot_delegate.cc |
+++ b/chrome/browser/chromeos/policy/remote_commands/screenshot_delegate.cc |
@@ -41,7 +41,7 @@ bool ScreenshotDelegate::IsScreenshotAllowed() { |
void ScreenshotDelegate::TakeSnapshot( |
gfx::NativeWindow window, |
const gfx::Rect& source_rect, |
- const ui::GrabWindowSnapshotAsyncPNGCallback& callback) { |
+ const ui::GrabWindowSnapshotAsyncEncodedCallback& callback) { |
ui::GrabWindowSnapshotAsync( |
window, source_rect, blocking_task_runner_, |
base::Bind(&ScreenshotDelegate::StoreScreenshot, |
@@ -68,7 +68,7 @@ std::unique_ptr<UploadJob> ScreenshotDelegate::CreateUploadJob( |
} |
void ScreenshotDelegate::StoreScreenshot( |
- const ui::GrabWindowSnapshotAsyncPNGCallback& callback, |
+ const ui::GrabWindowSnapshotAsyncEncodedCallback& callback, |
scoped_refptr<base::RefCountedBytes> png_data) { |
callback.Run(png_data); |
} |