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

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

Issue 2650903003: Revert of [devtools] Support different encodings for Page.CaptureScreenshot. (Closed)
Patch Set: 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: chrome/browser/chromeos/policy/remote_commands/screenshot_delegate.h
diff --git a/chrome/browser/chromeos/policy/remote_commands/screenshot_delegate.h b/chrome/browser/chromeos/policy/remote_commands/screenshot_delegate.h
index 6dbba859a8d7eb7ff8225496a1747c694782279d..1301fd26beb83dab1c386c6d7d5a853e61281db1 100644
--- a/chrome/browser/chromeos/policy/remote_commands/screenshot_delegate.h
+++ b/chrome/browser/chromeos/policy/remote_commands/screenshot_delegate.h
@@ -21,7 +21,7 @@
namespace policy {
// An implementation of the |DeviceCommandScreenshotJob::Delegate| that uses
-// aura's GrabWindowSnapshotAsyncPNG() to acquire the window snapshot.
+// aura's GrabWindowSnapshotAsync() to acquire the window snapshot.
class ScreenshotDelegate : public DeviceCommandScreenshotJob::Delegate {
public:
explicit ScreenshotDelegate(
@@ -40,7 +40,7 @@
private:
void StoreScreenshot(const ui::GrabWindowSnapshotAsyncPNGCallback& callback,
- scoped_refptr<base::RefCountedMemory> png_data);
+ scoped_refptr<base::RefCountedBytes> png_data);
scoped_refptr<base::TaskRunner> blocking_task_runner_;

Powered by Google App Engine
This is Rietveld 408576698