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 #ifndef IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTION_H_ | 5 #ifndef IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTION_H_ |
6 #define IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTION_H_ | 6 #define IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTION_H_ |
7 | 7 |
8 #import <UIKit/UIKit.h> | 8 #import <UIKit/UIKit.h> |
9 | 9 |
10 #import "ios/chrome/browser/ui/content_suggestions/content_suggestion_identifier .h" | 10 #import "ios/chrome/browser/ui/content_suggestions/identifier/content_suggestion _identifier.h" |
11 #include "url/gurl.h" | 11 #include "url/gurl.h" |
lpromero
2017/03/20 15:16:01
Can you forward declare GURL instead?
gambard
2017/03/20 15:35:15
Done.
| |
12 | 12 |
13 namespace base { | 13 namespace base { |
14 class Time; | 14 class Time; |
15 } | 15 } |
16 | 16 |
17 // Enum defining the type of a ContentSuggestions. | 17 // Enum defining the type of a ContentSuggestions. |
18 typedef NS_ENUM(NSInteger, ContentSuggestionType) { | 18 typedef NS_ENUM(NSInteger, ContentSuggestionType) { |
19 ContentSuggestionTypeArticle | 19 ContentSuggestionTypeArticle |
20 }; | 20 }; |
21 | 21 |
(...skipping 12 matching lines...) Expand all Loading... | |
34 // The name of the publisher. | 34 // The name of the publisher. |
35 @property(nonatomic, copy, nullable) NSString* publisher; | 35 @property(nonatomic, copy, nullable) NSString* publisher; |
36 // The date of publication. | 36 // The date of publication. |
37 @property(nonatomic, assign) base::Time publishDate; | 37 @property(nonatomic, assign) base::Time publishDate; |
38 | 38 |
39 @property(nonatomic, assign) ContentSuggestionType type; | 39 @property(nonatomic, assign) ContentSuggestionType type; |
40 | 40 |
41 @end | 41 @end |
42 | 42 |
43 #endif // IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTION_H_ | 43 #endif // IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTION_H_ |
OLD | NEW |