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

Unified Diff: remoting/host/single_window_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
Index: remoting/host/single_window_input_injector.h
diff --git a/remoting/host/single_window_input_injector.h b/remoting/host/single_window_input_injector.h
index 6ee92c7503ea2fab33f60fa4a3af0b9e5278930f..02ed9e6f974e8f312384903b21d5f2c174381bff 100644
--- a/remoting/host/single_window_input_injector.h
+++ b/remoting/host/single_window_input_injector.h
@@ -5,7 +5,8 @@
#ifndef REMOTING_HOST_SINGLE_WINDOW_INPUT_INJECTOR_H_
#define REMOTING_HOST_SINGLE_WINDOW_INPUT_INJECTOR_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "remoting/host/input_injector.h"
#include "third_party/webrtc/modules/desktop_capture/desktop_capture_types.h"
@@ -20,9 +21,9 @@ class SingleWindowInputInjector : public InputInjector {
public:
// This Create method needs to be passed a full desktop
// InputInjector.
- static scoped_ptr<InputInjector> CreateForWindow(
+ static std::unique_ptr<InputInjector> CreateForWindow(
webrtc::WindowId window_id,
- scoped_ptr<InputInjector> input_injector);
+ std::unique_ptr<InputInjector> input_injector);
};
} // namespace remoting
« no previous file with comments | « remoting/host/single_window_desktop_environment.cc ('k') | remoting/host/single_window_input_injector_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698