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

Unified Diff: remoting/host/input_injector_chromeos.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/input_injector.h ('k') | remoting/host/input_injector_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/input_injector_chromeos.h
diff --git a/remoting/host/input_injector_chromeos.h b/remoting/host/input_injector_chromeos.h
index e72d91697da2e7e13cb8b3329939afb957f468f4..1707c42a5e59e34ce054e89e603a6398678dc450 100644
--- a/remoting/host/input_injector_chromeos.h
+++ b/remoting/host/input_injector_chromeos.h
@@ -30,14 +30,15 @@ class InputInjectorChromeos : public InputInjector {
void InjectTouchEvent(const protocol::TouchEvent& event) override;
// InputInjector interface.
- void Start(scoped_ptr<protocol::ClipboardStub> client_clipboard) override;
+ void Start(
+ std::unique_ptr<protocol::ClipboardStub> client_clipboard) override;
private:
class Core;
// Task runner for input injection.
scoped_refptr<base::SingleThreadTaskRunner> input_task_runner_;
- scoped_ptr<Core> core_;
+ std::unique_ptr<Core> core_;
DISALLOW_COPY_AND_ASSIGN(InputInjectorChromeos);
};
« no previous file with comments | « remoting/host/input_injector.h ('k') | remoting/host/input_injector_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698