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

Unified Diff: extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.h

Issue 1902873002: Convert //extensions/browser/api from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.h
diff --git a/extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.h b/extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.h
index 0c90980fb5e9918742ee9c25b6b1e770ab069229..be933113073dbcb11d21e168d0dd9f35d1665869 100644
--- a/extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.h
+++ b/extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.h
@@ -78,12 +78,12 @@ class TCPSocketEventDispatcher
scoped_refptr<net::IOBuffer> io_buffer);
// Post an extension event from IO to UI thread
- static void PostEvent(const ReadParams& params, scoped_ptr<Event> event);
+ static void PostEvent(const ReadParams& params, std::unique_ptr<Event> event);
// Dispatch an extension event on to EventRouter instance on UI thread.
static void DispatchEvent(void* browser_context_id,
const std::string& extension_id,
- scoped_ptr<Event> event);
+ std::unique_ptr<Event> event);
// Usually IO thread (except for unit testing).
content::BrowserThread::ID thread_id_;

Powered by Google App Engine
This is Rietveld 408576698