| 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 <memory> |
| 6 |
| 7 #include "base/memory/ptr_util.h" |
| 5 #include "chromecast/browser/cast_content_browser_client.h" | 8 #include "chromecast/browser/cast_content_browser_client.h" |
| 6 | 9 |
| 7 #include "base/memory/scoped_ptr.h" | |
| 8 | 10 |
| 9 namespace chromecast { | 11 namespace chromecast { |
| 10 namespace shell { | 12 namespace shell { |
| 11 | 13 |
| 12 // static | 14 // static |
| 13 scoped_ptr<CastContentBrowserClient> CastContentBrowserClient::Create() { | 15 std::unique_ptr<CastContentBrowserClient> CastContentBrowserClient::Create() { |
| 14 return make_scoped_ptr(new CastContentBrowserClient()); | 16 return base::WrapUnique(new CastContentBrowserClient()); |
| 15 } | 17 } |
| 16 | 18 |
| 17 } // namespace shell | 19 } // namespace shell |
| 18 } // namespace chromecast | 20 } // namespace chromecast |
| OLD | NEW |