| Index: ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.h
|
| diff --git a/ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.h b/ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..51f41dac90b085da95d31514db7d1db3645c6b45
|
| --- /dev/null
|
| +++ b/ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.h
|
| @@ -0,0 +1,23 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef IOS_CHROME_BROWSER_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_CATEGORY_WRAPPER_H_
|
| +#define IOS_CHROME_BROWSER_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_CATEGORY_WRAPPER_H_
|
| +
|
| +#import <Foundation/Foundation.h>
|
| +
|
| +#include "components/ntp_snippets/category.h"
|
| +
|
| +// Objective-C wrapper for ntp_snippets::Category.
|
| +@interface ContentSuggestionsCategoryWrapper : NSObject<NSCopying>
|
| +
|
| +- (instancetype)initWithCategory:(ntp_snippets::Category)category
|
| + NS_DESIGNATED_INITIALIZER;
|
| +- (instancetype)init NS_UNAVAILABLE;
|
| +
|
| +- (ntp_snippets::Category)category;
|
| +
|
| +@end
|
| +
|
| +#endif // IOS_CHROME_BROWSER_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_CATEGORY_WRAPPER_H_
|
|
|