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

Unified Diff: remoting/host/host_event_logger.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/host_config_unittest.cc ('k') | remoting/host/host_event_logger_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/host_event_logger.h
diff --git a/remoting/host/host_event_logger.h b/remoting/host/host_event_logger.h
index 80b61a5ed7ebd37b1ecf95c546dad7d3c0754bae..e7ab5a93c3048244871f6c30cf0e8c2999555828 100644
--- a/remoting/host/host_event_logger.h
+++ b/remoting/host/host_event_logger.h
@@ -5,11 +5,11 @@
#ifndef REMOTING_HOST_HOST_EVENT_LOGGER_H_
#define REMOTING_HOST_HOST_EVENT_LOGGER_H_
+#include <memory>
#include <string>
#include "base/compiler_specific.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
namespace remoting {
@@ -22,7 +22,7 @@ class HostEventLogger {
// Creates an event-logger that monitors host status changes and logs
// corresponding events to the OS-specific log (syslog/EventLog).
- static scoped_ptr<HostEventLogger> Create(
+ static std::unique_ptr<HostEventLogger> Create(
base::WeakPtr<HostStatusMonitor> monitor,
const std::string& application_name);
« no previous file with comments | « remoting/host/host_config_unittest.cc ('k') | remoting/host/host_event_logger_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698