| OLD | NEW |
| (Empty) |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #import "ios/chrome/browser/ui/content_suggestions/content_suggestion_extra_buil
der.h" | |
| 6 | |
| 7 #if !defined(__has_feature) || !__has_feature(objc_arc) | |
| 8 #error "This file requires ARC support." | |
| 9 #endif | |
| 10 | |
| 11 @implementation ContentSuggestionReadingListExtra | |
| 12 | |
| 13 + (ContentSuggestionReadingListExtra*)extraWithDistillationStatus: | |
| 14 (ReadingListUIDistillationStatus)status { | |
| 15 ContentSuggestionReadingListExtra* extra = | |
| 16 [[ContentSuggestionReadingListExtra alloc] init]; | |
| 17 extra.status = status; | |
| 18 return extra; | |
| 19 } | |
| 20 | |
| 21 @synthesize status = _status; | |
| 22 | |
| 23 @end | |
| OLD | NEW |