OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 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 | 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 #import "ios/chrome/browser/ui/content_suggestions/content_suggestion.h" | 5 #import "ios/chrome/browser/ui/content_suggestions/content_suggestion.h" |
6 | 6 |
7 #include "base/time/time.h" | 7 #include "base/time/time.h" |
| 8 #include "url/gurl.h" |
8 | 9 |
9 #if !defined(__has_feature) || !__has_feature(objc_arc) | 10 #if !defined(__has_feature) || !__has_feature(objc_arc) |
10 #error "This file requires ARC support." | 11 #error "This file requires ARC support." |
11 #endif | 12 #endif |
12 | 13 |
13 @implementation ContentSuggestion | 14 @implementation ContentSuggestion |
14 | 15 |
15 @synthesize title = _title; | 16 @synthesize title = _title; |
16 @synthesize image = _image; | 17 @synthesize image = _image; |
17 @synthesize text = _text; | 18 @synthesize text = _text; |
18 @synthesize url = _url; | 19 @synthesize url = _url; |
19 @synthesize publisher = _publisher; | 20 @synthesize publisher = _publisher; |
20 @synthesize publishDate = _publishDate; | 21 @synthesize publishDate = _publishDate; |
21 @synthesize suggestionIdentifier = _suggestionIdentifier; | 22 @synthesize suggestionIdentifier = _suggestionIdentifier; |
22 @synthesize type = _type; | 23 @synthesize type = _type; |
23 | 24 |
24 @end | 25 @end |
OLD | NEW |