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

Unified Diff: chrome/browser/chromeos/policy/remote_commands/device_command_screenshot_job.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/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 da124bd966287cd9bec20f69f963d4c044f89b46..b1b588dd699c488c93b40f07007478a1f6bb2122 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
@@ -110,7 +110,7 @@
void TerminateImpl() override;
void StoreScreenshot(size_t screen,
- scoped_refptr<base::RefCountedMemory> png_data);
+ scoped_refptr<base::RefCountedBytes> png_data);
void StartScreenshotUpload();
@@ -128,7 +128,7 @@
int num_pending_screenshots_;
// Caches the already completed screenshots for the different displays.
- std::map<int, scoped_refptr<base::RefCountedMemory>> screenshots_;
+ std::map<int, scoped_refptr<base::RefCountedBytes>> screenshots_;
// The Delegate is used to acquire screenshots and create UploadJobs.
std::unique_ptr<Delegate> screenshot_delegate_;

Powered by Google App Engine
This is Rietveld 408576698