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

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

Issue 1870793002: Convert //chrome/browser/chromeos from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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 fd15c7e7f5cb12e8226bf1783c5119a485ee219d..1301fd26beb83dab1c386c6d7d5a853e61281db1 100644
--- a/chrome/browser/chromeos/policy/remote_commands/screenshot_delegate.h
+++ b/chrome/browser/chromeos/policy/remote_commands/screenshot_delegate.h
@@ -5,9 +5,10 @@
#ifndef CHROME_BROWSER_CHROMEOS_POLICY_REMOTE_COMMANDS_SCREENSHOT_DELEGATE_H_
#define CHROME_BROWSER_CHROMEOS_POLICY_REMOTE_COMMANDS_SCREENSHOT_DELEGATE_H_
+#include <memory>
+
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/task_runner.h"
#include "chrome/browser/chromeos/policy/remote_commands/device_command_screenshot_job.h"
@@ -33,8 +34,9 @@ class ScreenshotDelegate : public DeviceCommandScreenshotJob::Delegate {
gfx::NativeWindow window,
const gfx::Rect& source_rect,
const ui::GrabWindowSnapshotAsyncPNGCallback& callback) override;
- scoped_ptr<UploadJob> CreateUploadJob(const GURL& upload_url,
- UploadJob::Delegate* delegate) override;
+ std::unique_ptr<UploadJob> CreateUploadJob(
+ const GURL& upload_url,
+ UploadJob::Delegate* delegate) override;
private:
void StoreScreenshot(const ui::GrabWindowSnapshotAsyncPNGCallback& callback,

Powered by Google App Engine
This is Rietveld 408576698