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

Unified Diff: remoting/host/win/host_service.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/usage_stats_consent_mac.cc ('k') | remoting/host/win/launch_process_with_token.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/win/host_service.h
diff --git a/remoting/host/win/host_service.h b/remoting/host/win/host_service.h
index 34629edeb41989ad4d6853c1df688f2ce5167bb0..de3f3a0486b9eb2370e915e0c053b37a0d5ae8d4 100644
--- a/remoting/host/win/host_service.h
+++ b/remoting/host/win/host_service.h
@@ -9,10 +9,10 @@
#include <stdint.h>
#include <list>
+#include <memory>
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/singleton.h"
#include "base/memory/weak_ptr.h"
#include "base/synchronization/waitable_event.h"
@@ -104,7 +104,7 @@ class HostService : public WtsTerminalMonitor {
// The list of observers receiving session notifications.
std::list<RegisteredObserver> observers_;
- scoped_ptr<DaemonProcess> daemon_process_;
+ std::unique_ptr<DaemonProcess> daemon_process_;
// Service message loop. |main_task_runner_| must be valid as long as the
// Control+C or service notification handler is registered.
« no previous file with comments | « remoting/host/usage_stats_consent_mac.cc ('k') | remoting/host/win/launch_process_with_token.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698