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

Unified Diff: extensions/browser/api/serial/serial_apitest.cc

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
« no previous file with comments | « extensions/browser/api/serial/serial_api.cc ('k') | extensions/browser/api/serial/serial_connection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/serial/serial_apitest.cc
diff --git a/extensions/browser/api/serial/serial_apitest.cc b/extensions/browser/api/serial/serial_apitest.cc
index f56ff94345c17d9b9175a042ad434927b06cb589..40ee4e919f0ecab13aa5be3385b651d50cb9b6f5 100644
--- a/extensions/browser/api/serial/serial_apitest.cc
+++ b/extensions/browser/api/serial/serial_apitest.cc
@@ -138,7 +138,7 @@ void CreateTestSerialServiceOnFileThread(
io_handler_factory,
content::BrowserThread::GetMessageLoopProxyForThread(
content::BrowserThread::IO));
- scoped_ptr<device::SerialDeviceEnumerator> device_enumerator(
+ std::unique_ptr<device::SerialDeviceEnumerator> device_enumerator(
new FakeSerialDeviceEnumerator);
new device::SerialServiceImpl(
connection_factory, std::move(device_enumerator), std::move(request));
« no previous file with comments | « extensions/browser/api/serial/serial_api.cc ('k') | extensions/browser/api/serial/serial_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698