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 "ios/chrome/browser/open_from_clipboard/create_clipboard_recent_content
.h" | 5 #include "ios/chrome/browser/open_from_clipboard/create_clipboard_recent_content
.h" |
6 | 6 |
| 7 #include "base/memory/ptr_util.h" |
7 #import "components/open_from_clipboard/clipboard_recent_content_ios.h" | 8 #import "components/open_from_clipboard/clipboard_recent_content_ios.h" |
8 #include "ios/chrome/browser/chrome_url_constants.h" | 9 #include "ios/chrome/browser/chrome_url_constants.h" |
9 #include "ios/chrome/common/app_group/app_group_constants.h" | 10 #include "ios/chrome/common/app_group/app_group_constants.h" |
10 | 11 |
11 scoped_ptr<ClipboardRecentContent> CreateClipboardRecentContentIOS() { | 12 std::unique_ptr<ClipboardRecentContent> CreateClipboardRecentContentIOS() { |
12 return make_scoped_ptr(new ClipboardRecentContentIOS( | 13 return base::WrapUnique(new ClipboardRecentContentIOS( |
13 kChromeUIScheme, app_group::GetGroupUserDefaults())); | 14 kChromeUIScheme, app_group::GetGroupUserDefaults())); |
14 } | 15 } |
OLD | NEW |