// Copyright (c) 2016 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #ifndef SHELL_BROWSER_MAC_DICT_UTIL_H_ #define SHELL_BROWSER_MAC_DICT_UTIL_H_ #include #import namespace base { class ListValue; class DictionaryValue; } // namespace base namespace atom { NSArray* ListValueToNSArray(const base::ListValue& value); std::unique_ptr NSArrayToListValue(NSArray* arr); NSDictionary* DictionaryValueToNSDictionary(const base::DictionaryValue& value); std::unique_ptr NSDictionaryToDictionaryValue( NSDictionary* dict); } // namespace atom #endif // SHELL_BROWSER_MAC_DICT_UTIL_H_