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

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

Issue 2515723002: [ObjC ARC] Converts ios/chrome/browser/open_from_clipboard:open_from_clipboard to ARC.Automatical… (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « ios/chrome/browser/open_from_clipboard/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "base/memory/ptr_util.h"
8 #import "components/open_from_clipboard/clipboard_recent_content_ios.h" 8 #import "components/open_from_clipboard/clipboard_recent_content_ios.h"
9 #include "ios/chrome/browser/chrome_url_constants.h" 9 #include "ios/chrome/browser/chrome_url_constants.h"
10 #include "ios/chrome/common/app_group/app_group_constants.h" 10 #include "ios/chrome/common/app_group/app_group_constants.h"
11 11
12 #if !defined(__has_feature) || !__has_feature(objc_arc)
13 #error "This file requires ARC support."
14 #endif
15
12 std::unique_ptr<ClipboardRecentContent> CreateClipboardRecentContentIOS() { 16 std::unique_ptr<ClipboardRecentContent> CreateClipboardRecentContentIOS() {
13 return base::MakeUnique<ClipboardRecentContentIOS>( 17 return base::MakeUnique<ClipboardRecentContentIOS>(
14 kChromeUIScheme, app_group::GetGroupUserDefaults()); 18 kChromeUIScheme, app_group::GetGroupUserDefaults());
15 } 19 }
OLDNEW
« no previous file with comments | « ios/chrome/browser/open_from_clipboard/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698