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

Unified Diff: remoting/host/ipc_mouse_cursor_monitor.h

Issue 1864213002: Convert //remoting to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac IWYU 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
« no previous file with comments | « remoting/host/ipc_input_injector.cc ('k') | remoting/host/ipc_mouse_cursor_monitor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/ipc_mouse_cursor_monitor.h
diff --git a/remoting/host/ipc_mouse_cursor_monitor.h b/remoting/host/ipc_mouse_cursor_monitor.h
index 9879f9c28bc4d4d4942aa9e38a97a736d04ff195..528e89db120b50233e26bd4d869981a836021d85 100644
--- a/remoting/host/ipc_mouse_cursor_monitor.h
+++ b/remoting/host/ipc_mouse_cursor_monitor.h
@@ -5,9 +5,10 @@
#ifndef REMOTING_HOST_IPC_MOUSE_CURSOR_MONITOR_H_
#define REMOTING_HOST_IPC_MOUSE_CURSOR_MONITOR_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 "third_party/webrtc/modules/desktop_capture/desktop_frame.h"
#include "third_party/webrtc/modules/desktop_capture/mouse_cursor_monitor.h"
@@ -29,7 +30,7 @@ class IpcMouseCursorMonitor : public webrtc::MouseCursorMonitor {
void Capture() override;
// Called when the cursor shape has changed.
- void OnMouseCursor(scoped_ptr<webrtc::MouseCursor> cursor);
+ void OnMouseCursor(std::unique_ptr<webrtc::MouseCursor> cursor);
private:
// The callback passed to |webrtc::MouseCursorMonitor::Init()|.
« no previous file with comments | « remoting/host/ipc_input_injector.cc ('k') | remoting/host/ipc_mouse_cursor_monitor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698