OLD | NEW |
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 |
OLD | NEW |