2016-05-02 21:45:59 +00:00
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
|
|
|
|
#include "base/values.h"
|
|
|
|
#include "base/strings/sys_string_conversions.h"
|
|
|
|
|
|
|
|
@interface MacNativeConverter : NSObject
|
|
|
|
|
2016-05-02 23:18:58 +00:00
|
|
|
- (base::ListValue*)arrayToListValue:(NSArray*)nsArray;
|
|
|
|
- (base::DictionaryValue*)dictionaryToDictionaryValue:(NSDictionary*)nsDictionary;
|
|
|
|
|
|
|
|
- (NSArray*)arrayFromListValue:(const base::ListValue&)list;
|
|
|
|
- (NSDictionary*)dictionaryFromDictionaryValue:(const base::DictionaryValue&)dict;
|
2016-05-02 21:45:59 +00:00
|
|
|
|
|
|
|
@end
|