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

Unified Diff: remoting/test/test_chromoting_client.cc

Issue 2253233004: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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 | « remoting/test/protocol_perftest.cc ('k') | remoting/test/test_chromoting_client_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/test/test_chromoting_client.cc
diff --git a/remoting/test/test_chromoting_client.cc b/remoting/test/test_chromoting_client.cc
index 78ce8116204a950648762949d60646eb52443e31..4e5eb3245361f489eb85f12f4be3568aa87125d8 100644
--- a/remoting/test/test_chromoting_client.cc
+++ b/remoting/test/test_chromoting_client.cc
@@ -122,9 +122,8 @@ void TestChromotingClient::StartConnection(
scoped_refptr<protocol::TransportContext> transport_context(
new protocol::TransportContext(
signal_strategy_.get(),
- base::WrapUnique(new protocol::ChromiumPortAllocatorFactory()),
- base::WrapUnique(
- new ChromiumUrlRequestFactory(request_context_getter)),
+ base::MakeUnique<protocol::ChromiumPortAllocatorFactory>(),
+ base::MakeUnique<ChromiumUrlRequestFactory>(request_context_getter),
network_settings, protocol::TransportRole::CLIENT));
protocol::ClientAuthenticationConfig client_auth_config;
« no previous file with comments | « remoting/test/protocol_perftest.cc ('k') | remoting/test/test_chromoting_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698