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

Unified Diff: tools/android/forwarder2/daemon.h

Issue 1869503004: Convert //tools to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, change iwyu fixes for converted directories to include <memory> 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 | « extensions/renderer/display_source_custom_bindings.h ('k') | tools/android/forwarder2/daemon.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/android/forwarder2/daemon.h
diff --git a/tools/android/forwarder2/daemon.h b/tools/android/forwarder2/daemon.h
index f983a2ea65580510e416c0871587cb8af58c5402..54285df43dafc9efcb8d8c519bae12bcd755a715 100644
--- a/tools/android/forwarder2/daemon.h
+++ b/tools/android/forwarder2/daemon.h
@@ -5,10 +5,10 @@
#ifndef TOOLS_ANDROID_FORWARDER2_DAEMON_H_
#define TOOLS_ANDROID_FORWARDER2_DAEMON_H_
+#include <memory>
#include <string>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
namespace forwarder2 {
@@ -37,7 +37,7 @@ class Daemon {
// setup signal handlers or perform global initialization.
virtual void Init() = 0;
- virtual void OnClientConnected(scoped_ptr<Socket> client_socket) = 0;
+ virtual void OnClientConnected(std::unique_ptr<Socket> client_socket) = 0;
};
// |identifier| should be a unique string identifier. It is used to
« no previous file with comments | « extensions/renderer/display_source_custom_bindings.h ('k') | tools/android/forwarder2/daemon.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698