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

Unified Diff: extensions/browser/api/serial/serial_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/serial/serial_event_dispatcher.h
diff --git a/extensions/browser/api/serial/serial_event_dispatcher.h b/extensions/browser/api/serial/serial_event_dispatcher.h
index 10188af493aefe4180b0b051937d763cf5e38c51..70588ca035336188b9f933409a13f496adb9d2da 100644
--- a/extensions/browser/api/serial/serial_event_dispatcher.h
+++ b/extensions/browser/api/serial/serial_event_dispatcher.h
@@ -65,11 +65,11 @@ class SerialEventDispatcher : public BrowserContextKeyedAPI {
serial::ReceiveError error);
static void PostEvent(const ReceiveParams& params,
- scoped_ptr<extensions::Event> event);
+ std::unique_ptr<extensions::Event> event);
static void DispatchEvent(void* browser_context_id,
const std::string& extension_id,
- scoped_ptr<extensions::Event> event);
+ std::unique_ptr<extensions::Event> event);
content::BrowserThread::ID thread_id_;
content::BrowserContext* const context_;
« no previous file with comments | « extensions/browser/api/serial/serial_connection.cc ('k') | extensions/browser/api/serial/serial_event_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698