2016-05-05 07:26:44 +00:00
|
|
|
// Copyright (c) 2016 GitHub, Inc.
|
|
|
|
// Use of this source code is governed by the MIT license that can be
|
|
|
|
// found in the LICENSE file.
|
|
|
|
|
2019-06-19 20:56:58 +00:00
|
|
|
#ifndef SHELL_BROWSER_MAC_DICT_UTIL_H_
|
|
|
|
#define SHELL_BROWSER_MAC_DICT_UTIL_H_
|
2016-05-05 07:26:44 +00:00
|
|
|
|
2016-07-04 06:08:55 +00:00
|
|
|
#import <Foundation/Foundation.h>
|
2016-05-05 07:26:44 +00:00
|
|
|
|
|
|
|
namespace base {
|
2016-06-02 01:53:49 +00:00
|
|
|
class ListValue;
|
2016-05-05 07:26:44 +00:00
|
|
|
class DictionaryValue;
|
2018-10-05 15:38:27 +00:00
|
|
|
} // namespace base
|
2016-05-05 07:26:44 +00:00
|
|
|
|
2019-06-19 21:23:04 +00:00
|
|
|
namespace electron {
|
2016-05-05 07:26:44 +00:00
|
|
|
|
2016-11-28 23:08:22 +00:00
|
|
|
NSArray* ListValueToNSArray(const base::ListValue& value);
|
2019-10-30 05:30:59 +00:00
|
|
|
base::ListValue NSArrayToListValue(NSArray* arr);
|
2016-05-05 07:26:44 +00:00
|
|
|
NSDictionary* DictionaryValueToNSDictionary(const base::DictionaryValue& value);
|
2019-10-30 05:30:59 +00:00
|
|
|
base::DictionaryValue NSDictionaryToDictionaryValue(NSDictionary* dict);
|
2016-05-05 07:26:44 +00:00
|
|
|
|
2019-06-19 21:23:04 +00:00
|
|
|
} // namespace electron
|
2016-05-05 07:26:44 +00:00
|
|
|
|
2019-06-19 20:56:58 +00:00
|
|
|
#endif // SHELL_BROWSER_MAC_DICT_UTIL_H_
|