Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(521)

Side by Side Diff: ios/chrome/browser/content_suggestions/content_suggestions_data_holder.h

Issue 2638413006: Add ContentSuggestionsMediator (Closed)
Patch Set: Fix Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_DATA_HOLDER_H _
6 #define IOS_CHROME_BROWSER_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_DATA_HOLDER_H _
7
8 #import <UIKit/UIKit.h>
9
10 #import "ios/chrome/browser/ui/content_suggestions/content_suggestions_data.h"
11
12 // Data holder for a suggestions item, compatible with objective-c.
13 @interface ContentSuggestionsDataHolder : NSObject<ContentSuggestionsData>
14
15 // Redifined to be readwrite
16 @property(nonatomic, readwrite, copy) NSString* title;
17 @property(nonatomic, readwrite, strong) UIImage* image;
18
19 @end
20
21 #endif // IOS_CHROME_BROWSER_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_DATA_HOLDE R_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698