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

Unified Diff: remoting/host/win/session_input_injector.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/win/session_desktop_environment.cc ('k') | remoting/host/win/session_input_injector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/win/session_input_injector.h
diff --git a/remoting/host/win/session_input_injector.h b/remoting/host/win/session_input_injector.h
index f91251f247eea81c76ab7877d020cb79028b75f0..ed818c98cd7c0df61d20e6b0c3a4797e8d5cffaf 100644
--- a/remoting/host/win/session_input_injector.h
+++ b/remoting/host/win/session_input_injector.h
@@ -5,10 +5,11 @@
#ifndef REMOTING_HOST_WIN_SESSION_INPUT_INJECTOR_H_
#define REMOTING_HOST_WIN_SESSION_INPUT_INJECTOR_H_
+#include <memory>
+
#include "base/callback_forward.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "remoting/host/input_injector.h"
namespace base {
@@ -26,14 +27,14 @@ class SessionInputInjectorWin : public InputInjector {
// Vista+.
SessionInputInjectorWin(
scoped_refptr<base::SingleThreadTaskRunner> input_task_runner,
- scoped_ptr<InputInjector> nested_executor,
+ std::unique_ptr<InputInjector> nested_executor,
scoped_refptr<base::SingleThreadTaskRunner> inject_sas_task_runner,
const base::Closure& inject_sas);
~SessionInputInjectorWin() override;
// InputInjector implementation.
void Start(
- scoped_ptr<protocol::ClipboardStub> client_clipboard) override;
+ std::unique_ptr<protocol::ClipboardStub> client_clipboard) override;
// protocol::ClipboardStub implementation.
void InjectClipboardEvent(
« no previous file with comments | « remoting/host/win/session_desktop_environment.cc ('k') | remoting/host/win/session_input_injector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698