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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/memory/ptr_util.h"
5 #include "remoting/test/app_remoting_test_driver_environment.h" 6 #include "remoting/test/app_remoting_test_driver_environment.h"
6 7
7 namespace remoting { 8 namespace remoting {
8 namespace test { 9 namespace test {
9 10
10 scoped_ptr<AppRemotingTestDriverEnvironment> 11 std::unique_ptr<AppRemotingTestDriverEnvironment>
11 CreateAppRemotingTestDriverEnvironment( 12 CreateAppRemotingTestDriverEnvironment(
12 const AppRemotingTestDriverEnvironment::EnvironmentOptions& options) { 13 const AppRemotingTestDriverEnvironment::EnvironmentOptions& options) {
13 return make_scoped_ptr<AppRemotingTestDriverEnvironment>( 14 return base::WrapUnique<AppRemotingTestDriverEnvironment>(
14 new AppRemotingTestDriverEnvironment(options)); 15 new AppRemotingTestDriverEnvironment(options));
15 } 16 }
16 17
17 } // namespace test 18 } // namespace test
18 } // namespace remoting 19 } // namespace remoting
OLDNEW
« 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