| 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 #ifndef IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTION_IDENTIFIER_
H_ |
| 6 #define IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTION_IDENTIFIER_
H_ |
| 7 |
| 8 #import <Foundation/Foundation.h> |
| 9 |
| 10 #include <string> |
| 11 |
| 12 @class ContentSuggestionsSectionInformation; |
| 13 |
| 14 // An class identifying a suggestion. |
| 15 @interface ContentSuggestionIdentifier : NSObject |
| 16 |
| 17 @property(nonatomic, strong) ContentSuggestionsSectionInformation* sectionInfo; |
| 18 // Must be unique inside a section. |
| 19 @property(nonatomic, assign) std::string IDInSection; |
| 20 |
| 21 @end |
| 22 |
| 23 // A protocol for an object having an ID. |
| 24 @protocol ContentSuggestionIdentification |
| 25 |
| 26 @property(nonatomic, strong) ContentSuggestionIdentifier* suggestionIdentifier; |
| 27 |
| 28 @end |
| 29 |
| 30 #endif // IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTION_IDENTIFI
ER_H_ |
| OLD | NEW |