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

Side by Side Diff: ios/chrome/browser/open_from_clipboard/create_clipboard_recent_content.mm

Issue 1861593005: Convert //ios from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 "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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698