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

Unified Diff: remoting/host/setup/daemon_controller_delegate_linux.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/setup/daemon_controller.cc ('k') | remoting/host/setup/daemon_controller_delegate_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/setup/daemon_controller_delegate_linux.h
diff --git a/remoting/host/setup/daemon_controller_delegate_linux.h b/remoting/host/setup/daemon_controller_delegate_linux.h
index 9bcc81cb260fec570596d5c22d0b97d556766633..eee983953a50c6cf77d7e7e8c8fc5dc62c8a20cc 100644
--- a/remoting/host/setup/daemon_controller_delegate_linux.h
+++ b/remoting/host/setup/daemon_controller_delegate_linux.h
@@ -5,8 +5,9 @@
#ifndef REMOTING_HOST_SETUP_DAEMON_CONTROLLER_DELEGATE_LINUX_H_
#define REMOTING_HOST_SETUP_DAEMON_CONTROLLER_DELEGATE_LINUX_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "remoting/host/setup/daemon_controller.h"
namespace remoting {
@@ -18,12 +19,12 @@ class DaemonControllerDelegateLinux : public DaemonController::Delegate {
// DaemonController::Delegate interface.
DaemonController::State GetState() override;
- scoped_ptr<base::DictionaryValue> GetConfig() override;
+ std::unique_ptr<base::DictionaryValue> GetConfig() override;
void SetConfigAndStart(
- scoped_ptr<base::DictionaryValue> config,
+ std::unique_ptr<base::DictionaryValue> config,
bool consent,
const DaemonController::CompletionCallback& done) override;
- void UpdateConfig(scoped_ptr<base::DictionaryValue> config,
+ void UpdateConfig(std::unique_ptr<base::DictionaryValue> config,
const DaemonController::CompletionCallback& done) override;
void Stop(const DaemonController::CompletionCallback& done) override;
DaemonController::UsageStatsConsent GetUsageStatsConsent() override;
« no previous file with comments | « remoting/host/setup/daemon_controller.cc ('k') | remoting/host/setup/daemon_controller_delegate_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698