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

Unified Diff: remoting/client/jni/chromoting_jni_runtime.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/client/jni/chromoting_jni_instance.cc ('k') | remoting/client/jni/jni_gl_display_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/jni/chromoting_jni_runtime.cc
diff --git a/remoting/client/jni/chromoting_jni_runtime.cc b/remoting/client/jni/chromoting_jni_runtime.cc
index eb54996997e718ebaab973ed73e51934fe395827..4ebbaf6dd3524fcaa9bc0d073674026ea157fb7c 100644
--- a/remoting/client/jni/chromoting_jni_runtime.cc
+++ b/remoting/client/jni/chromoting_jni_runtime.cc
@@ -131,8 +131,7 @@ void ChromotingJniRuntime::StartLoggerOnNetworkThread() {
DCHECK(network_task_runner()->BelongsToCurrentThread());
logger_.reset(new ClientTelemetryLogger(ChromotingEvent::Mode::ME2ME));
logger_->Start(
- base::WrapUnique(
- new ChromiumUrlRequestFactory(runtime_->url_requester())),
+ base::MakeUnique<ChromiumUrlRequestFactory>(runtime_->url_requester()),
kTelemetryBaseUrl);
logger_->SetAuthClosure(
base::Bind(&ChromotingJniRuntime::FetchAuthToken,
« no previous file with comments | « remoting/client/jni/chromoting_jni_instance.cc ('k') | remoting/client/jni/jni_gl_display_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698