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

Unified Diff: remoting/test/app_remoting_sample_test_driver_environment.cc

Issue 1864213002: Convert //remoting to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac IWYU 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: remoting/test/app_remoting_sample_test_driver_environment.cc
diff --git a/remoting/test/app_remoting_sample_test_driver_environment.cc b/remoting/test/app_remoting_sample_test_driver_environment.cc
index afc007a37361d4da92abff25805f05a57f4e86fb..d362eca2b04eff6f28600e7099a35c482724d6eb 100644
--- a/remoting/test/app_remoting_sample_test_driver_environment.cc
+++ b/remoting/test/app_remoting_sample_test_driver_environment.cc
@@ -2,15 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "base/memory/ptr_util.h"
#include "remoting/test/app_remoting_test_driver_environment.h"
namespace remoting {
namespace test {
-scoped_ptr<AppRemotingTestDriverEnvironment>
+std::unique_ptr<AppRemotingTestDriverEnvironment>
CreateAppRemotingTestDriverEnvironment(
const AppRemotingTestDriverEnvironment::EnvironmentOptions& options) {
- return make_scoped_ptr<AppRemotingTestDriverEnvironment>(
+ return base::WrapUnique<AppRemotingTestDriverEnvironment>(
new AppRemotingTestDriverEnvironment(options));
}
« no previous file with comments | « remoting/test/app_remoting_report_issue_request_unittest.cc ('k') | remoting/test/app_remoting_test_driver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698