| 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_identifier
.h" | 5 #import "ios/chrome/browser/ui/content_suggestions/identifier/content_suggestion
_identifier.h" |
| 6 | 6 |
| 7 #include "base/mac/foundation_util.h" | 7 #include "base/mac/foundation_util.h" |
| 8 | 8 |
| 9 #if !defined(__has_feature) || !__has_feature(objc_arc) | 9 #if !defined(__has_feature) || !__has_feature(objc_arc) |
| 10 #error "This file requires ARC support." | 10 #error "This file requires ARC support." |
| 11 #endif | 11 #endif |
| 12 | 12 |
| 13 @implementation ContentSuggestionIdentifier | 13 @implementation ContentSuggestionIdentifier |
| 14 | 14 |
| 15 @synthesize sectionInfo = _sectionInfo; | 15 @synthesize sectionInfo = _sectionInfo; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 27 } | 27 } |
| 28 | 28 |
| 29 ContentSuggestionIdentifier* other = | 29 ContentSuggestionIdentifier* other = |
| 30 base::mac::ObjCCastStrict<ContentSuggestionIdentifier>(object); | 30 base::mac::ObjCCastStrict<ContentSuggestionIdentifier>(object); |
| 31 | 31 |
| 32 return self.sectionInfo == other.sectionInfo && | 32 return self.sectionInfo == other.sectionInfo && |
| 33 self.IDInSection == other.IDInSection; | 33 self.IDInSection == other.IDInSection; |
| 34 } | 34 } |
| 35 | 35 |
| 36 @end | 36 @end |
| OLD | NEW |