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

Unified Diff: extensions/browser/api/bluetooth_socket/bluetooth_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/bluetooth_socket/bluetooth_socket_event_dispatcher.h
diff --git a/extensions/browser/api/bluetooth_socket/bluetooth_socket_event_dispatcher.h b/extensions/browser/api/bluetooth_socket/bluetooth_socket_event_dispatcher.h
index 5e45fc0c055559a6cb445e551d2d7d8fa9c0723d..72a78b8225349da79056896f1e7345072c8a50c8 100644
--- a/extensions/browser/api/bluetooth_socket/bluetooth_socket_event_dispatcher.h
+++ b/extensions/browser/api/bluetooth_socket/bluetooth_socket_event_dispatcher.h
@@ -101,12 +101,13 @@ class BluetoothSocketEventDispatcher
const std::string& error);
// Post an extension event from IO to UI thread
- static void PostEvent(const SocketParams& params, scoped_ptr<Event> event);
+ static void PostEvent(const SocketParams& 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 FILE thread (except for unit testing).
content::BrowserThread::ID thread_id_;

Powered by Google App Engine
This is Rietveld 408576698