• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
2 // reserved. Use of this source code is governed by a BSD-style license that
3 // can be found in the LICENSE file.
4 //
5 // ---------------------------------------------------------------------------
6 //
7 // This file was generated by the CEF translator tool. If making changes by
8 // hand only do so within the body of existing method and function
9 // implementations. See the translator.README.txt file in the tools directory
10 // for more information.
11 //
12 // $hash=70aa25f8ab57f0c152666a730aff4247684108f9$
13 //
14 
15 #include "libcef_dll/ctocpp/dictionary_value_ctocpp.h"
16 #include "libcef_dll/ctocpp/binary_value_ctocpp.h"
17 #include "libcef_dll/ctocpp/list_value_ctocpp.h"
18 #include "libcef_dll/ctocpp/value_ctocpp.h"
19 #include "libcef_dll/shutdown_checker.h"
20 #include "libcef_dll/transfer_util.h"
21 
22 // STATIC METHODS - Body may be edited by hand.
23 
24 NO_SANITIZE("cfi-icall")
Create()25 CefRefPtr<CefDictionaryValue> CefDictionaryValue::Create() {
26   shutdown_checker::AssertNotShutdown();
27 
28   // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
29 
30   // Execute
31   cef_dictionary_value_t* _retval = cef_dictionary_value_create();
32 
33   // Return type: refptr_same
34   return CefDictionaryValueCToCpp::Wrap(_retval);
35 }
36 
37 // VIRTUAL METHODS - Body may be edited by hand.
38 
IsValid()39 NO_SANITIZE("cfi-icall") bool CefDictionaryValueCToCpp::IsValid() {
40   shutdown_checker::AssertNotShutdown();
41 
42   cef_dictionary_value_t* _struct = GetStruct();
43   if (CEF_MEMBER_MISSING(_struct, is_valid))
44     return false;
45 
46   // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
47 
48   // Execute
49   int _retval = _struct->is_valid(_struct);
50 
51   // Return type: bool
52   return _retval ? true : false;
53 }
54 
IsOwned()55 NO_SANITIZE("cfi-icall") bool CefDictionaryValueCToCpp::IsOwned() {
56   shutdown_checker::AssertNotShutdown();
57 
58   cef_dictionary_value_t* _struct = GetStruct();
59   if (CEF_MEMBER_MISSING(_struct, is_owned))
60     return false;
61 
62   // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
63 
64   // Execute
65   int _retval = _struct->is_owned(_struct);
66 
67   // Return type: bool
68   return _retval ? true : false;
69 }
70 
IsReadOnly()71 NO_SANITIZE("cfi-icall") bool CefDictionaryValueCToCpp::IsReadOnly() {
72   shutdown_checker::AssertNotShutdown();
73 
74   cef_dictionary_value_t* _struct = GetStruct();
75   if (CEF_MEMBER_MISSING(_struct, is_read_only))
76     return false;
77 
78   // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
79 
80   // Execute
81   int _retval = _struct->is_read_only(_struct);
82 
83   // Return type: bool
84   return _retval ? true : false;
85 }
86 
87 NO_SANITIZE("cfi-icall")
IsSame(CefRefPtr<CefDictionaryValue> that)88 bool CefDictionaryValueCToCpp::IsSame(CefRefPtr<CefDictionaryValue> that) {
89   shutdown_checker::AssertNotShutdown();
90 
91   cef_dictionary_value_t* _struct = GetStruct();
92   if (CEF_MEMBER_MISSING(_struct, is_same))
93     return false;
94 
95   // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
96 
97   // Verify param: that; type: refptr_same
98   DCHECK(that.get());
99   if (!that.get())
100     return false;
101 
102   // Execute
103   int _retval =
104       _struct->is_same(_struct, CefDictionaryValueCToCpp::Unwrap(that));
105 
106   // Return type: bool
107   return _retval ? true : false;
108 }
109 
110 NO_SANITIZE("cfi-icall")
IsEqual(CefRefPtr<CefDictionaryValue> that)111 bool CefDictionaryValueCToCpp::IsEqual(CefRefPtr<CefDictionaryValue> that) {
112   shutdown_checker::AssertNotShutdown();
113 
114   cef_dictionary_value_t* _struct = GetStruct();
115   if (CEF_MEMBER_MISSING(_struct, is_equal))
116     return false;
117 
118   // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
119 
120   // Verify param: that; type: refptr_same
121   DCHECK(that.get());
122   if (!that.get())
123     return false;
124 
125   // Execute
126   int _retval =
127       _struct->is_equal(_struct, CefDictionaryValueCToCpp::Unwrap(that));
128 
129   // Return type: bool
130   return _retval ? true : false;
131 }
132 
133 NO_SANITIZE("cfi-icall")
Copy(bool exclude_empty_children)134 CefRefPtr<CefDictionaryValue> CefDictionaryValueCToCpp::Copy(
135     bool exclude_empty_children) {
136   shutdown_checker::AssertNotShutdown();
137 
138   cef_dictionary_value_t* _struct = GetStruct();
139   if (CEF_MEMBER_MISSING(_struct, copy))
140     return nullptr;
141 
142   // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
143 
144   // Execute
145   cef_dictionary_value_t* _retval =
146       _struct->copy(_struct, exclude_empty_children);
147 
148   // Return type: refptr_same
149   return CefDictionaryValueCToCpp::Wrap(_retval);
150 }
151 
GetSize()152 NO_SANITIZE("cfi-icall") size_t CefDictionaryValueCToCpp::GetSize() {
153   shutdown_checker::AssertNotShutdown();
154 
155   cef_dictionary_value_t* _struct = GetStruct();
156   if (CEF_MEMBER_MISSING(_struct, get_size))
157     return 0;
158 
159   // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
160 
161   // Execute
162   size_t _retval = _struct->get_size(_struct);
163 
164   // Return type: simple
165   return _retval;
166 }
167 
Clear()168 NO_SANITIZE("cfi-icall") bool CefDictionaryValueCToCpp::Clear() {
169   shutdown_checker::AssertNotShutdown();
170 
171   cef_dictionary_value_t* _struct = GetStruct();
172   if (CEF_MEMBER_MISSING(_struct, clear))
173     return false;
174 
175   // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
176 
177   // Execute
178   int _retval = _struct->clear(_struct);
179 
180   // Return type: bool
181   return _retval ? true : false;
182 }
183 
184 NO_SANITIZE("cfi-icall")
HasKey(const CefString & key)185 bool CefDictionaryValueCToCpp::HasKey(const CefString& key) {
186   shutdown_checker::AssertNotShutdown();
187 
188   cef_dictionary_value_t* _struct = GetStruct();
189   if (CEF_MEMBER_MISSING(_struct, has_key))
190     return false;
191 
192   // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
193 
194   // Verify param: key; type: string_byref_const
195   DCHECK(!key.empty());
196   if (key.empty())
197     return false;
198 
199   // Execute
200   int _retval = _struct->has_key(_struct, key.GetStruct());
201 
202   // Return type: bool
203   return _retval ? true : false;
204 }
205 
GetKeys(KeyList & keys)206 NO_SANITIZE("cfi-icall") bool CefDictionaryValueCToCpp::GetKeys(KeyList& keys) {
207   shutdown_checker::AssertNotShutdown();
208 
209   cef_dictionary_value_t* _struct = GetStruct();
210   if (CEF_MEMBER_MISSING(_struct, get_keys))
211     return false;
212 
213   // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
214 
215   // Translate param: keys; type: string_vec_byref
216   cef_string_list_t keysList = cef_string_list_alloc();
217   DCHECK(keysList);
218   if (keysList)
219     transfer_string_list_contents(keys, keysList);
220 
221   // Execute
222   int _retval = _struct->get_keys(_struct, keysList);
223 
224   // Restore param:keys; type: string_vec_byref
225   if (keysList) {
226     keys.clear();
227     transfer_string_list_contents(keysList, keys);
228     cef_string_list_free(keysList);
229   }
230 
231   // Return type: bool
232   return _retval ? true : false;
233 }
234 
235 NO_SANITIZE("cfi-icall")
Remove(const CefString & key)236 bool CefDictionaryValueCToCpp::Remove(const CefString& key) {
237   shutdown_checker::AssertNotShutdown();
238 
239   cef_dictionary_value_t* _struct = GetStruct();
240   if (CEF_MEMBER_MISSING(_struct, remove))
241     return false;
242 
243   // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
244 
245   // Verify param: key; type: string_byref_const
246   DCHECK(!key.empty());
247   if (key.empty())
248     return false;
249 
250   // Execute
251   int _retval = _struct->remove(_struct, key.GetStruct());
252 
253   // Return type: bool
254   return _retval ? true : false;
255 }
256 
257 NO_SANITIZE("cfi-icall")
GetType(const CefString & key)258 CefValueType CefDictionaryValueCToCpp::GetType(const CefString& key) {
259   shutdown_checker::AssertNotShutdown();
260 
261   cef_dictionary_value_t* _struct = GetStruct();
262   if (CEF_MEMBER_MISSING(_struct, get_type))
263     return VTYPE_INVALID;
264 
265   // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
266 
267   // Verify param: key; type: string_byref_const
268   DCHECK(!key.empty());
269   if (key.empty())
270     return VTYPE_INVALID;
271 
272   // Execute
273   cef_value_type_t _retval = _struct->get_type(_struct, key.GetStruct());
274 
275   // Return type: simple
276   return _retval;
277 }
278 
279 NO_SANITIZE("cfi-icall")
GetValue(const CefString & key)280 CefRefPtr<CefValue> CefDictionaryValueCToCpp::GetValue(const CefString& key) {
281   shutdown_checker::AssertNotShutdown();
282 
283   cef_dictionary_value_t* _struct = GetStruct();
284   if (CEF_MEMBER_MISSING(_struct, get_value))
285     return nullptr;
286 
287   // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
288 
289   // Verify param: key; type: string_byref_const
290   DCHECK(!key.empty());
291   if (key.empty())
292     return nullptr;
293 
294   // Execute
295   cef_value_t* _retval = _struct->get_value(_struct, key.GetStruct());
296 
297   // Return type: refptr_same
298   return CefValueCToCpp::Wrap(_retval);
299 }
300 
301 NO_SANITIZE("cfi-icall")
GetBool(const CefString & key)302 bool CefDictionaryValueCToCpp::GetBool(const CefString& key) {
303   shutdown_checker::AssertNotShutdown();
304 
305   cef_dictionary_value_t* _struct = GetStruct();
306   if (CEF_MEMBER_MISSING(_struct, get_bool))
307     return false;
308 
309   // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
310 
311   // Verify param: key; type: string_byref_const
312   DCHECK(!key.empty());
313   if (key.empty())
314     return false;
315 
316   // Execute
317   int _retval = _struct->get_bool(_struct, key.GetStruct());
318 
319   // Return type: bool
320   return _retval ? true : false;
321 }
322 
323 NO_SANITIZE("cfi-icall")
GetInt(const CefString & key)324 int CefDictionaryValueCToCpp::GetInt(const CefString& key) {
325   shutdown_checker::AssertNotShutdown();
326 
327   cef_dictionary_value_t* _struct = GetStruct();
328   if (CEF_MEMBER_MISSING(_struct, get_int))
329     return 0;
330 
331   // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
332 
333   // Verify param: key; type: string_byref_const
334   DCHECK(!key.empty());
335   if (key.empty())
336     return 0;
337 
338   // Execute
339   int _retval = _struct->get_int(_struct, key.GetStruct());
340 
341   // Return type: simple
342   return _retval;
343 }
344 
345 NO_SANITIZE("cfi-icall")
GetDouble(const CefString & key)346 double CefDictionaryValueCToCpp::GetDouble(const CefString& key) {
347   shutdown_checker::AssertNotShutdown();
348 
349   cef_dictionary_value_t* _struct = GetStruct();
350   if (CEF_MEMBER_MISSING(_struct, get_double))
351     return 0;
352 
353   // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
354 
355   // Verify param: key; type: string_byref_const
356   DCHECK(!key.empty());
357   if (key.empty())
358     return 0;
359 
360   // Execute
361   double _retval = _struct->get_double(_struct, key.GetStruct());
362 
363   // Return type: simple
364   return _retval;
365 }
366 
367 NO_SANITIZE("cfi-icall")
GetString(const CefString & key)368 CefString CefDictionaryValueCToCpp::GetString(const CefString& key) {
369   shutdown_checker::AssertNotShutdown();
370 
371   cef_dictionary_value_t* _struct = GetStruct();
372   if (CEF_MEMBER_MISSING(_struct, get_string))
373     return CefString();
374 
375   // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
376 
377   // Verify param: key; type: string_byref_const
378   DCHECK(!key.empty());
379   if (key.empty())
380     return CefString();
381 
382   // Execute
383   cef_string_userfree_t _retval = _struct->get_string(_struct, key.GetStruct());
384 
385   // Return type: string
386   CefString _retvalStr;
387   _retvalStr.AttachToUserFree(_retval);
388   return _retvalStr;
389 }
390 
391 NO_SANITIZE("cfi-icall")
GetBinary(const CefString & key)392 CefRefPtr<CefBinaryValue> CefDictionaryValueCToCpp::GetBinary(
393     const CefString& key) {
394   shutdown_checker::AssertNotShutdown();
395 
396   cef_dictionary_value_t* _struct = GetStruct();
397   if (CEF_MEMBER_MISSING(_struct, get_binary))
398     return nullptr;
399 
400   // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
401 
402   // Verify param: key; type: string_byref_const
403   DCHECK(!key.empty());
404   if (key.empty())
405     return nullptr;
406 
407   // Execute
408   cef_binary_value_t* _retval = _struct->get_binary(_struct, key.GetStruct());
409 
410   // Return type: refptr_same
411   return CefBinaryValueCToCpp::Wrap(_retval);
412 }
413 
414 NO_SANITIZE("cfi-icall")
GetDictionary(const CefString & key)415 CefRefPtr<CefDictionaryValue> CefDictionaryValueCToCpp::GetDictionary(
416     const CefString& key) {
417   shutdown_checker::AssertNotShutdown();
418 
419   cef_dictionary_value_t* _struct = GetStruct();
420   if (CEF_MEMBER_MISSING(_struct, get_dictionary))
421     return nullptr;
422 
423   // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
424 
425   // Verify param: key; type: string_byref_const
426   DCHECK(!key.empty());
427   if (key.empty())
428     return nullptr;
429 
430   // Execute
431   cef_dictionary_value_t* _retval =
432       _struct->get_dictionary(_struct, key.GetStruct());
433 
434   // Return type: refptr_same
435   return CefDictionaryValueCToCpp::Wrap(_retval);
436 }
437 
438 NO_SANITIZE("cfi-icall")
GetList(const CefString & key)439 CefRefPtr<CefListValue> CefDictionaryValueCToCpp::GetList(
440     const CefString& key) {
441   shutdown_checker::AssertNotShutdown();
442 
443   cef_dictionary_value_t* _struct = GetStruct();
444   if (CEF_MEMBER_MISSING(_struct, get_list))
445     return nullptr;
446 
447   // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
448 
449   // Verify param: key; type: string_byref_const
450   DCHECK(!key.empty());
451   if (key.empty())
452     return nullptr;
453 
454   // Execute
455   cef_list_value_t* _retval = _struct->get_list(_struct, key.GetStruct());
456 
457   // Return type: refptr_same
458   return CefListValueCToCpp::Wrap(_retval);
459 }
460 
461 NO_SANITIZE("cfi-icall")
SetValue(const CefString & key,CefRefPtr<CefValue> value)462 bool CefDictionaryValueCToCpp::SetValue(const CefString& key,
463                                         CefRefPtr<CefValue> value) {
464   shutdown_checker::AssertNotShutdown();
465 
466   cef_dictionary_value_t* _struct = GetStruct();
467   if (CEF_MEMBER_MISSING(_struct, set_value))
468     return false;
469 
470   // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
471 
472   // Verify param: key; type: string_byref_const
473   DCHECK(!key.empty());
474   if (key.empty())
475     return false;
476   // Verify param: value; type: refptr_same
477   DCHECK(value.get());
478   if (!value.get())
479     return false;
480 
481   // Execute
482   int _retval = _struct->set_value(_struct, key.GetStruct(),
483                                    CefValueCToCpp::Unwrap(value));
484 
485   // Return type: bool
486   return _retval ? true : false;
487 }
488 
489 NO_SANITIZE("cfi-icall")
SetNull(const CefString & key)490 bool CefDictionaryValueCToCpp::SetNull(const CefString& key) {
491   shutdown_checker::AssertNotShutdown();
492 
493   cef_dictionary_value_t* _struct = GetStruct();
494   if (CEF_MEMBER_MISSING(_struct, set_null))
495     return false;
496 
497   // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
498 
499   // Verify param: key; type: string_byref_const
500   DCHECK(!key.empty());
501   if (key.empty())
502     return false;
503 
504   // Execute
505   int _retval = _struct->set_null(_struct, key.GetStruct());
506 
507   // Return type: bool
508   return _retval ? true : false;
509 }
510 
511 NO_SANITIZE("cfi-icall")
SetBool(const CefString & key,bool value)512 bool CefDictionaryValueCToCpp::SetBool(const CefString& key, bool value) {
513   shutdown_checker::AssertNotShutdown();
514 
515   cef_dictionary_value_t* _struct = GetStruct();
516   if (CEF_MEMBER_MISSING(_struct, set_bool))
517     return false;
518 
519   // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
520 
521   // Verify param: key; type: string_byref_const
522   DCHECK(!key.empty());
523   if (key.empty())
524     return false;
525 
526   // Execute
527   int _retval = _struct->set_bool(_struct, key.GetStruct(), value);
528 
529   // Return type: bool
530   return _retval ? true : false;
531 }
532 
533 NO_SANITIZE("cfi-icall")
SetInt(const CefString & key,int value)534 bool CefDictionaryValueCToCpp::SetInt(const CefString& key, int value) {
535   shutdown_checker::AssertNotShutdown();
536 
537   cef_dictionary_value_t* _struct = GetStruct();
538   if (CEF_MEMBER_MISSING(_struct, set_int))
539     return false;
540 
541   // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
542 
543   // Verify param: key; type: string_byref_const
544   DCHECK(!key.empty());
545   if (key.empty())
546     return false;
547 
548   // Execute
549   int _retval = _struct->set_int(_struct, key.GetStruct(), value);
550 
551   // Return type: bool
552   return _retval ? true : false;
553 }
554 
555 NO_SANITIZE("cfi-icall")
SetDouble(const CefString & key,double value)556 bool CefDictionaryValueCToCpp::SetDouble(const CefString& key, double value) {
557   shutdown_checker::AssertNotShutdown();
558 
559   cef_dictionary_value_t* _struct = GetStruct();
560   if (CEF_MEMBER_MISSING(_struct, set_double))
561     return false;
562 
563   // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
564 
565   // Verify param: key; type: string_byref_const
566   DCHECK(!key.empty());
567   if (key.empty())
568     return false;
569 
570   // Execute
571   int _retval = _struct->set_double(_struct, key.GetStruct(), value);
572 
573   // Return type: bool
574   return _retval ? true : false;
575 }
576 
577 NO_SANITIZE("cfi-icall")
SetString(const CefString & key,const CefString & value)578 bool CefDictionaryValueCToCpp::SetString(const CefString& key,
579                                          const CefString& value) {
580   shutdown_checker::AssertNotShutdown();
581 
582   cef_dictionary_value_t* _struct = GetStruct();
583   if (CEF_MEMBER_MISSING(_struct, set_string))
584     return false;
585 
586   // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
587 
588   // Verify param: key; type: string_byref_const
589   DCHECK(!key.empty());
590   if (key.empty())
591     return false;
592   // Unverified params: value
593 
594   // Execute
595   int _retval =
596       _struct->set_string(_struct, key.GetStruct(), value.GetStruct());
597 
598   // Return type: bool
599   return _retval ? true : false;
600 }
601 
602 NO_SANITIZE("cfi-icall")
SetBinary(const CefString & key,CefRefPtr<CefBinaryValue> value)603 bool CefDictionaryValueCToCpp::SetBinary(const CefString& key,
604                                          CefRefPtr<CefBinaryValue> value) {
605   shutdown_checker::AssertNotShutdown();
606 
607   cef_dictionary_value_t* _struct = GetStruct();
608   if (CEF_MEMBER_MISSING(_struct, set_binary))
609     return false;
610 
611   // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
612 
613   // Verify param: key; type: string_byref_const
614   DCHECK(!key.empty());
615   if (key.empty())
616     return false;
617   // Verify param: value; type: refptr_same
618   DCHECK(value.get());
619   if (!value.get())
620     return false;
621 
622   // Execute
623   int _retval = _struct->set_binary(_struct, key.GetStruct(),
624                                     CefBinaryValueCToCpp::Unwrap(value));
625 
626   // Return type: bool
627   return _retval ? true : false;
628 }
629 
630 NO_SANITIZE("cfi-icall")
SetDictionary(const CefString & key,CefRefPtr<CefDictionaryValue> value)631 bool CefDictionaryValueCToCpp::SetDictionary(
632     const CefString& key,
633     CefRefPtr<CefDictionaryValue> value) {
634   shutdown_checker::AssertNotShutdown();
635 
636   cef_dictionary_value_t* _struct = GetStruct();
637   if (CEF_MEMBER_MISSING(_struct, set_dictionary))
638     return false;
639 
640   // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
641 
642   // Verify param: key; type: string_byref_const
643   DCHECK(!key.empty());
644   if (key.empty())
645     return false;
646   // Verify param: value; type: refptr_same
647   DCHECK(value.get());
648   if (!value.get())
649     return false;
650 
651   // Execute
652   int _retval = _struct->set_dictionary(
653       _struct, key.GetStruct(), CefDictionaryValueCToCpp::Unwrap(value));
654 
655   // Return type: bool
656   return _retval ? true : false;
657 }
658 
659 NO_SANITIZE("cfi-icall")
SetList(const CefString & key,CefRefPtr<CefListValue> value)660 bool CefDictionaryValueCToCpp::SetList(const CefString& key,
661                                        CefRefPtr<CefListValue> value) {
662   shutdown_checker::AssertNotShutdown();
663 
664   cef_dictionary_value_t* _struct = GetStruct();
665   if (CEF_MEMBER_MISSING(_struct, set_list))
666     return false;
667 
668   // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
669 
670   // Verify param: key; type: string_byref_const
671   DCHECK(!key.empty());
672   if (key.empty())
673     return false;
674   // Verify param: value; type: refptr_same
675   DCHECK(value.get());
676   if (!value.get())
677     return false;
678 
679   // Execute
680   int _retval = _struct->set_list(_struct, key.GetStruct(),
681                                   CefListValueCToCpp::Unwrap(value));
682 
683   // Return type: bool
684   return _retval ? true : false;
685 }
686 
687 // CONSTRUCTOR - Do not edit by hand.
688 
CefDictionaryValueCToCpp()689 CefDictionaryValueCToCpp::CefDictionaryValueCToCpp() {}
690 
691 // DESTRUCTOR - Do not edit by hand.
692 
~CefDictionaryValueCToCpp()693 CefDictionaryValueCToCpp::~CefDictionaryValueCToCpp() {
694   shutdown_checker::AssertNotShutdown();
695 }
696 
697 template <>
698 cef_dictionary_value_t* CefCToCppRefCounted<
699     CefDictionaryValueCToCpp,
700     CefDictionaryValue,
UnwrapDerived(CefWrapperType type,CefDictionaryValue * c)701     cef_dictionary_value_t>::UnwrapDerived(CefWrapperType type,
702                                            CefDictionaryValue* c) {
703   NOTREACHED() << "Unexpected class type: " << type;
704   return nullptr;
705 }
706 
707 template <>
708 CefWrapperType CefCToCppRefCounted<CefDictionaryValueCToCpp,
709                                    CefDictionaryValue,
710                                    cef_dictionary_value_t>::kWrapperType =
711     WT_DICTIONARY_VALUE;
712