| 
									
										
										
										
											2016-05-05 16:26:44 +09: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 13:56:58 -07:00
										 |  |  | #ifndef SHELL_BROWSER_MAC_DICT_UTIL_H_
 | 
					
						
							|  |  |  | #define SHELL_BROWSER_MAC_DICT_UTIL_H_
 | 
					
						
							| 
									
										
										
										
											2016-05-05 16:26:44 +09:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-07-04 15:08:55 +09:00
										 |  |  | #import <Foundation/Foundation.h>
 | 
					
						
							| 
									
										
										
										
											2016-05-05 16:26:44 +09:00
										 |  |  | 
 | 
					
						
							|  |  |  | namespace base { | 
					
						
							| 
									
										
										
										
											2016-06-01 18:53:49 -07:00
										 |  |  | class ListValue; | 
					
						
							| 
									
										
										
										
											2016-05-05 16:26:44 +09:00
										 |  |  | class DictionaryValue; | 
					
						
							| 
									
										
										
										
											2018-10-05 10:38:27 -05:00
										 |  |  | }  // namespace base
 | 
					
						
							| 
									
										
										
										
											2016-05-05 16:26:44 +09:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-06-19 14:23:04 -07:00
										 |  |  | namespace electron { | 
					
						
							| 
									
										
										
										
											2016-05-05 16:26:44 +09:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-11-28 15:08:22 -08:00
										 |  |  | NSArray* ListValueToNSArray(const base::ListValue& value); | 
					
						
							| 
									
										
										
										
											2019-10-30 14:30:59 +09:00
										 |  |  | base::ListValue NSArrayToListValue(NSArray* arr); | 
					
						
							| 
									
										
										
										
											2016-05-05 16:26:44 +09:00
										 |  |  | NSDictionary* DictionaryValueToNSDictionary(const base::DictionaryValue& value); | 
					
						
							| 
									
										
										
										
											2019-10-30 14:30:59 +09:00
										 |  |  | base::DictionaryValue NSDictionaryToDictionaryValue(NSDictionary* dict); | 
					
						
							| 
									
										
										
										
											2016-05-05 16:26:44 +09:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-06-19 14:23:04 -07:00
										 |  |  | }  // namespace electron
 | 
					
						
							| 
									
										
										
										
											2016-05-05 16:26:44 +09:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-06-19 13:56:58 -07:00
										 |  |  | #endif  // SHELL_BROWSER_MAC_DICT_UTIL_H_
 |