@triniwiz/nativescript-masonkit 1.0.0-alpha.12 → 1.0.0-alpha.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (323) hide show
  1. package/common.js.map +1 -1
  2. package/helpers.d.ts +5 -5
  3. package/helpers.js +0 -3
  4. package/helpers.js.map +1 -1
  5. package/index.android.js +2 -2
  6. package/index.android.js.map +1 -1
  7. package/index.ios.js +2 -2
  8. package/index.ios.js.map +1 -1
  9. package/package.json +2 -2
  10. package/platforms/android/masonkit-release.aar +0 -0
  11. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Mason +0 -0
  12. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.abi.json +4559 -1456
  13. package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
  14. package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +1932 -1932
  15. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Mason +0 -0
  16. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.abi.json +4559 -1456
  17. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +4559 -1456
  18. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
  19. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +1932 -1932
  20. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +1883 -1883
  21. package/style.d.ts +1 -1
  22. package/style.js +0 -1
  23. package/style.js.map +1 -1
  24. package/node.d.ts +0 -2
  25. package/node.js +0 -3
  26. package/node.js.map +0 -1
  27. package/platforms/ios/Podfile +0 -1
  28. package/platforms/ios/build.xcconfig +0 -5
  29. package/platforms/ios/prebuild.sh +0 -101
  30. package/platforms/new_native_src/cpp/Caches.cpp +0 -36
  31. package/platforms/new_native_src/cpp/Caches.h +0 -42
  32. package/platforms/new_native_src/cpp/Common.h +0 -34
  33. package/platforms/new_native_src/cpp/ConcurrentMap.h +0 -57
  34. package/platforms/new_native_src/cpp/Helpers.cpp +0 -101
  35. package/platforms/new_native_src/cpp/Helpers.h +0 -364
  36. package/platforms/new_native_src/cpp/MasonImpl.cpp +0 -68
  37. package/platforms/new_native_src/cpp/MasonImpl.h +0 -40
  38. package/platforms/new_native_src/cpp/MasonNodeImpl.cpp +0 -89
  39. package/platforms/new_native_src/cpp/MasonNodeImpl.h +0 -47
  40. package/platforms/new_native_src/cpp/MasonStyleImpl.cpp +0 -2181
  41. package/platforms/new_native_src/cpp/MasonStyleImpl.h +0 -420
  42. package/platforms/new_native_src/cpp/include/mason_native.h +0 -972
  43. package/platforms/new_native_src/cpp/include/robin_hood.h +0 -2544
  44. package/src-native/pods/Headers/include/APIDesign.md +0 -72
  45. package/src-native/pods/Headers/include/DEPS +0 -10
  46. package/src-native/pods/Headers/include/DIR_METADATA +0 -11
  47. package/src-native/pods/Headers/include/OWNERS +0 -23
  48. package/src-native/pods/Headers/include/cppgc/DEPS +0 -8
  49. package/src-native/pods/Headers/include/cppgc/OWNERS +0 -2
  50. package/src-native/pods/Headers/include/cppgc/README.md +0 -133
  51. package/src-native/pods/Headers/include/cppgc/allocation.h +0 -310
  52. package/src-native/pods/Headers/include/cppgc/common.h +0 -29
  53. package/src-native/pods/Headers/include/cppgc/cross-thread-persistent.h +0 -465
  54. package/src-native/pods/Headers/include/cppgc/custom-space.h +0 -97
  55. package/src-native/pods/Headers/include/cppgc/default-platform.h +0 -67
  56. package/src-native/pods/Headers/include/cppgc/ephemeron-pair.h +0 -30
  57. package/src-native/pods/Headers/include/cppgc/explicit-management.h +0 -100
  58. package/src-native/pods/Headers/include/cppgc/garbage-collected.h +0 -106
  59. package/src-native/pods/Headers/include/cppgc/heap-consistency.h +0 -266
  60. package/src-native/pods/Headers/include/cppgc/heap-state.h +0 -82
  61. package/src-native/pods/Headers/include/cppgc/heap-statistics.h +0 -120
  62. package/src-native/pods/Headers/include/cppgc/heap.h +0 -206
  63. package/src-native/pods/Headers/include/cppgc/internal/api-constants.h +0 -55
  64. package/src-native/pods/Headers/include/cppgc/internal/atomic-entry-flag.h +0 -48
  65. package/src-native/pods/Headers/include/cppgc/internal/caged-heap-local-data.h +0 -79
  66. package/src-native/pods/Headers/include/cppgc/internal/compiler-specific.h +0 -38
  67. package/src-native/pods/Headers/include/cppgc/internal/finalizer-trait.h +0 -93
  68. package/src-native/pods/Headers/include/cppgc/internal/gc-info.h +0 -156
  69. package/src-native/pods/Headers/include/cppgc/internal/logging.h +0 -50
  70. package/src-native/pods/Headers/include/cppgc/internal/name-trait.h +0 -122
  71. package/src-native/pods/Headers/include/cppgc/internal/persistent-node.h +0 -216
  72. package/src-native/pods/Headers/include/cppgc/internal/pointer-policies.h +0 -186
  73. package/src-native/pods/Headers/include/cppgc/internal/write-barrier.h +0 -435
  74. package/src-native/pods/Headers/include/cppgc/liveness-broker.h +0 -77
  75. package/src-native/pods/Headers/include/cppgc/macros.h +0 -26
  76. package/src-native/pods/Headers/include/cppgc/member.h +0 -291
  77. package/src-native/pods/Headers/include/cppgc/name-provider.h +0 -65
  78. package/src-native/pods/Headers/include/cppgc/object-size-trait.h +0 -58
  79. package/src-native/pods/Headers/include/cppgc/persistent.h +0 -370
  80. package/src-native/pods/Headers/include/cppgc/platform.h +0 -156
  81. package/src-native/pods/Headers/include/cppgc/prefinalizer.h +0 -75
  82. package/src-native/pods/Headers/include/cppgc/process-heap-statistics.h +0 -36
  83. package/src-native/pods/Headers/include/cppgc/sentinel-pointer.h +0 -32
  84. package/src-native/pods/Headers/include/cppgc/source-location.h +0 -92
  85. package/src-native/pods/Headers/include/cppgc/testing.h +0 -106
  86. package/src-native/pods/Headers/include/cppgc/trace-trait.h +0 -116
  87. package/src-native/pods/Headers/include/cppgc/type-traits.h +0 -240
  88. package/src-native/pods/Headers/include/cppgc/visitor.h +0 -379
  89. package/src-native/pods/Headers/include/js_protocol-1.2.json +0 -936
  90. package/src-native/pods/Headers/include/js_protocol-1.3.json +0 -1112
  91. package/src-native/pods/Headers/include/js_protocol.pdl +0 -1709
  92. package/src-native/pods/Headers/include/libffi/arm64/ffi.h +0 -524
  93. package/src-native/pods/Headers/include/libffi/arm64/ffitarget.h +0 -92
  94. package/src-native/pods/Headers/include/libffi/x86_64/ffi.h +0 -524
  95. package/src-native/pods/Headers/include/libffi/x86_64/ffitarget.h +0 -147
  96. package/src-native/pods/Headers/include/libffi.h +0 -12
  97. package/src-native/pods/Headers/include/libplatform/DEPS +0 -9
  98. package/src-native/pods/Headers/include/libplatform/libplatform-export.h +0 -29
  99. package/src-native/pods/Headers/include/libplatform/libplatform.h +0 -106
  100. package/src-native/pods/Headers/include/libplatform/v8-tracing.h +0 -333
  101. package/src-native/pods/Headers/include/v8-array-buffer.h +0 -433
  102. package/src-native/pods/Headers/include/v8-callbacks.h +0 -397
  103. package/src-native/pods/Headers/include/v8-container.h +0 -129
  104. package/src-native/pods/Headers/include/v8-context.h +0 -407
  105. package/src-native/pods/Headers/include/v8-cppgc.h +0 -215
  106. package/src-native/pods/Headers/include/v8-data.h +0 -80
  107. package/src-native/pods/Headers/include/v8-date.h +0 -43
  108. package/src-native/pods/Headers/include/v8-debug.h +0 -168
  109. package/src-native/pods/Headers/include/v8-embedder-heap.h +0 -218
  110. package/src-native/pods/Headers/include/v8-embedder-state-scope.h +0 -51
  111. package/src-native/pods/Headers/include/v8-exception.h +0 -217
  112. package/src-native/pods/Headers/include/v8-extension.h +0 -62
  113. package/src-native/pods/Headers/include/v8-external.h +0 -37
  114. package/src-native/pods/Headers/include/v8-fast-api-calls.h +0 -939
  115. package/src-native/pods/Headers/include/v8-forward.h +0 -81
  116. package/src-native/pods/Headers/include/v8-function-callback.h +0 -475
  117. package/src-native/pods/Headers/include/v8-function.h +0 -125
  118. package/src-native/pods/Headers/include/v8-initialization.h +0 -315
  119. package/src-native/pods/Headers/include/v8-inspector-protocol.h +0 -13
  120. package/src-native/pods/Headers/include/v8-inspector.h +0 -376
  121. package/src-native/pods/Headers/include/v8-internal.h +0 -661
  122. package/src-native/pods/Headers/include/v8-isolate.h +0 -1709
  123. package/src-native/pods/Headers/include/v8-json.h +0 -47
  124. package/src-native/pods/Headers/include/v8-local-handle.h +0 -455
  125. package/src-native/pods/Headers/include/v8-locker.h +0 -149
  126. package/src-native/pods/Headers/include/v8-maybe.h +0 -137
  127. package/src-native/pods/Headers/include/v8-memory-span.h +0 -43
  128. package/src-native/pods/Headers/include/v8-message.h +0 -216
  129. package/src-native/pods/Headers/include/v8-metrics.h +0 -255
  130. package/src-native/pods/Headers/include/v8-microtask-queue.h +0 -152
  131. package/src-native/pods/Headers/include/v8-microtask.h +0 -28
  132. package/src-native/pods/Headers/include/v8-object.h +0 -775
  133. package/src-native/pods/Headers/include/v8-persistent-handle.h +0 -590
  134. package/src-native/pods/Headers/include/v8-platform.h +0 -1092
  135. package/src-native/pods/Headers/include/v8-primitive-object.h +0 -118
  136. package/src-native/pods/Headers/include/v8-primitive.h +0 -866
  137. package/src-native/pods/Headers/include/v8-profiler.h +0 -1198
  138. package/src-native/pods/Headers/include/v8-promise.h +0 -174
  139. package/src-native/pods/Headers/include/v8-proxy.h +0 -50
  140. package/src-native/pods/Headers/include/v8-regexp.h +0 -105
  141. package/src-native/pods/Headers/include/v8-script.h +0 -748
  142. package/src-native/pods/Headers/include/v8-snapshot.h +0 -196
  143. package/src-native/pods/Headers/include/v8-statistics.h +0 -217
  144. package/src-native/pods/Headers/include/v8-template.h +0 -1079
  145. package/src-native/pods/Headers/include/v8-traced-handle.h +0 -420
  146. package/src-native/pods/Headers/include/v8-typed-array.h +0 -282
  147. package/src-native/pods/Headers/include/v8-unwinder-state.h +0 -31
  148. package/src-native/pods/Headers/include/v8-unwinder.h +0 -132
  149. package/src-native/pods/Headers/include/v8-util.h +0 -658
  150. package/src-native/pods/Headers/include/v8-value-serializer-version.h +0 -24
  151. package/src-native/pods/Headers/include/v8-value-serializer.h +0 -279
  152. package/src-native/pods/Headers/include/v8-value.h +0 -526
  153. package/src-native/pods/Headers/include/v8-version-string.h +0 -38
  154. package/src-native/pods/Headers/include/v8-version.h +0 -20
  155. package/src-native/pods/Headers/include/v8-wasm-trap-handler-posix.h +0 -31
  156. package/src-native/pods/Headers/include/v8-wasm-trap-handler-win.h +0 -28
  157. package/src-native/pods/Headers/include/v8-wasm.h +0 -257
  158. package/src-native/pods/Headers/include/v8-weak-callback-info.h +0 -86
  159. package/src-native/pods/Headers/include/v8.h +0 -88
  160. package/src-native/pods/Headers/include/v8config.h +0 -605
  161. package/src-native/pods/Headers/inspector/InspectorServer.h +0 -20
  162. package/src-native/pods/Headers/inspector/JsV8InspectorClient.h +0 -66
  163. package/src-native/pods/Headers/inspector/base/trace_event/common/trace_event_common.h +0 -1123
  164. package/src-native/pods/Headers/inspector/base64.h +0 -9
  165. package/src-native/pods/Headers/inspector/src/base/address-region.h +0 -95
  166. package/src-native/pods/Headers/inspector/src/base/atomic-utils.h +0 -219
  167. package/src-native/pods/Headers/inspector/src/base/atomicops.h +0 -332
  168. package/src-native/pods/Headers/inspector/src/base/atomicops_internals_atomicword_compat.h +0 -89
  169. package/src-native/pods/Headers/inspector/src/base/base-export.h +0 -31
  170. package/src-native/pods/Headers/inspector/src/base/bits.h +0 -343
  171. package/src-native/pods/Headers/inspector/src/base/build_config.h +0 -234
  172. package/src-native/pods/Headers/inspector/src/base/compiler-specific.h +0 -136
  173. package/src-native/pods/Headers/inspector/src/base/export-template.h +0 -163
  174. package/src-native/pods/Headers/inspector/src/base/flags.h +0 -130
  175. package/src-native/pods/Headers/inspector/src/base/immediate-crash.h +0 -162
  176. package/src-native/pods/Headers/inspector/src/base/lazy-instance.h +0 -258
  177. package/src-native/pods/Headers/inspector/src/base/logging.h +0 -417
  178. package/src-native/pods/Headers/inspector/src/base/macros.h +0 -423
  179. package/src-native/pods/Headers/inspector/src/base/memory.h +0 -89
  180. package/src-native/pods/Headers/inspector/src/base/once.h +0 -108
  181. package/src-native/pods/Headers/inspector/src/base/optional.h +0 -882
  182. package/src-native/pods/Headers/inspector/src/base/platform/mutex.h +0 -370
  183. package/src-native/pods/Headers/inspector/src/base/platform/platform.h +0 -476
  184. package/src-native/pods/Headers/inspector/src/base/platform/semaphore.h +0 -108
  185. package/src-native/pods/Headers/inspector/src/base/platform/v8-time.h +0 -513
  186. package/src-native/pods/Headers/inspector/src/base/platform/wrappers.h +0 -73
  187. package/src-native/pods/Headers/inspector/src/base/safe_conversions.h +0 -389
  188. package/src-native/pods/Headers/inspector/src/base/safe_conversions_impl.h +0 -822
  189. package/src-native/pods/Headers/inspector/src/base/template-utils.h +0 -113
  190. package/src-native/pods/Headers/inspector/src/base/v8-fallthrough.h +0 -21
  191. package/src-native/pods/Headers/inspector/src/common/checks.h +0 -38
  192. package/src-native/pods/Headers/inspector/src/common/globals.h +0 -1842
  193. package/src-native/pods/Headers/inspector/src/debug/debug-interface.h +0 -667
  194. package/src-native/pods/Headers/inspector/src/debug/interface-types.h +0 -175
  195. package/src-native/pods/Headers/inspector/src/init/v8.h +0 -52
  196. package/src-native/pods/Headers/inspector/src/inspector/custom-preview.h +0 -24
  197. package/src-native/pods/Headers/inspector/src/inspector/injected-script.h +0 -251
  198. package/src-native/pods/Headers/inspector/src/inspector/inspected-context.h +0 -79
  199. package/src-native/pods/Headers/inspector/src/inspector/protocol/CSS.h +0 -2148
  200. package/src-native/pods/Headers/inspector/src/inspector/protocol/Console.h +0 -211
  201. package/src-native/pods/Headers/inspector/src/inspector/protocol/DOM.h +0 -1008
  202. package/src-native/pods/Headers/inspector/src/inspector/protocol/Debugger.h +0 -892
  203. package/src-native/pods/Headers/inspector/src/inspector/protocol/Forward.h +0 -75
  204. package/src-native/pods/Headers/inspector/src/inspector/protocol/HeapProfiler.h +0 -346
  205. package/src-native/pods/Headers/inspector/src/inspector/protocol/Log.h +0 -342
  206. package/src-native/pods/Headers/inspector/src/inspector/protocol/Network.h +0 -2528
  207. package/src-native/pods/Headers/inspector/src/inspector/protocol/Overlay.h +0 -281
  208. package/src-native/pods/Headers/inspector/src/inspector/protocol/Page.h +0 -1189
  209. package/src-native/pods/Headers/inspector/src/inspector/protocol/Profiler.h +0 -1001
  210. package/src-native/pods/Headers/inspector/src/inspector/protocol/Protocol.h +0 -617
  211. package/src-native/pods/Headers/inspector/src/inspector/protocol/Runtime.h +0 -1696
  212. package/src-native/pods/Headers/inspector/src/inspector/protocol/Schema.h +0 -146
  213. package/src-native/pods/Headers/inspector/src/inspector/protocol/Security.h +0 -793
  214. package/src-native/pods/Headers/inspector/src/inspector/remote-object-id.h +0 -54
  215. package/src-native/pods/Headers/inspector/src/inspector/search-util.h +0 -26
  216. package/src-native/pods/Headers/inspector/src/inspector/string-16.h +0 -180
  217. package/src-native/pods/Headers/inspector/src/inspector/string-util.h +0 -128
  218. package/src-native/pods/Headers/inspector/src/inspector/v8-console-agent-impl.h +0 -48
  219. package/src-native/pods/Headers/inspector/src/inspector/v8-console-message.h +0 -147
  220. package/src-native/pods/Headers/inspector/src/inspector/v8-console.h +0 -173
  221. package/src-native/pods/Headers/inspector/src/inspector/v8-css-agent-impl.h +0 -62
  222. package/src-native/pods/Headers/inspector/src/inspector/v8-debugger-agent-impl.h +0 -248
  223. package/src-native/pods/Headers/inspector/src/inspector/v8-debugger-id.h +0 -44
  224. package/src-native/pods/Headers/inspector/src/inspector/v8-debugger-script.h +0 -123
  225. package/src-native/pods/Headers/inspector/src/inspector/v8-debugger.h +0 -257
  226. package/src-native/pods/Headers/inspector/src/inspector/v8-dom-agent-impl.h +0 -91
  227. package/src-native/pods/Headers/inspector/src/inspector/v8-heap-profiler-agent-impl.h +0 -80
  228. package/src-native/pods/Headers/inspector/src/inspector/v8-inspector-impl.h +0 -191
  229. package/src-native/pods/Headers/inspector/src/inspector/v8-inspector-session-impl.h +0 -156
  230. package/src-native/pods/Headers/inspector/src/inspector/v8-log-agent-impl.h +0 -34
  231. package/src-native/pods/Headers/inspector/src/inspector/v8-network-agent-impl.h +0 -71
  232. package/src-native/pods/Headers/inspector/src/inspector/v8-ns-debugger-agent-impl.h +0 -24
  233. package/src-native/pods/Headers/inspector/src/inspector/v8-overlay-agent-impl.h +0 -70
  234. package/src-native/pods/Headers/inspector/src/inspector/v8-page-agent-impl.h +0 -88
  235. package/src-native/pods/Headers/inspector/src/inspector/v8-profiler-agent-impl.h +0 -104
  236. package/src-native/pods/Headers/inspector/src/inspector/v8-regex.h +0 -38
  237. package/src-native/pods/Headers/inspector/src/inspector/v8-runtime-agent-impl.h +0 -157
  238. package/src-native/pods/Headers/inspector/src/inspector/v8-schema-agent-impl.h +0 -38
  239. package/src-native/pods/Headers/inspector/src/inspector/v8-stack-trace-impl.h +0 -164
  240. package/src-native/pods/Headers/inspector/src/inspector/v8-string-conversions.h +0 -17
  241. package/src-native/pods/Headers/inspector/src/inspector/v8-value-utils.h +0 -23
  242. package/src-native/pods/Headers/inspector/src/inspector/value-mirror.h +0 -87
  243. package/src-native/pods/Headers/inspector/src/libplatform/default-platform.h +0 -92
  244. package/src-native/pods/Headers/inspector/src/logging/tracing-flags.h +0 -50
  245. package/src-native/pods/Headers/inspector/src/numbers/conversions.h +0 -183
  246. package/src-native/pods/Headers/inspector/src/tracing/trace-event.h +0 -664
  247. package/src-native/pods/Headers/inspector/src/utils/allocation.h +0 -367
  248. package/src-native/pods/Headers/inspector/src/utils/vector.h +0 -324
  249. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/cbor.h +0 -305
  250. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/dispatch.h +0 -314
  251. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/error_support.h +0 -62
  252. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/export.h +0 -6
  253. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/find_by_first.h +0 -58
  254. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/frontend_channel.h +0 -47
  255. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/glue.h +0 -80
  256. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/json.h +0 -52
  257. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/json_platform.h +0 -26
  258. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/maybe.h +0 -104
  259. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/parser_handler.h +0 -39
  260. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/protocol_core.h +0 -406
  261. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/serializable.h +0 -32
  262. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/serializer_traits.h +0 -158
  263. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/span.h +0 -99
  264. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/status.h +0 -139
  265. package/src-native/pods/Headers/inspector/utils.h +0 -32
  266. package/src-native/pods/Headers/inspector/v8-inspector-platform.h +0 -44
  267. package/src-native/pods/Headers/jsi/decorator.h +0 -762
  268. package/src-native/pods/Headers/jsi/instrumentation.h +0 -117
  269. package/src-native/pods/Headers/jsi/jsi-inl.h +0 -322
  270. package/src-native/pods/Headers/jsi/jsi.h +0 -1387
  271. package/src-native/pods/Headers/jsi/jsilib.h +0 -59
  272. package/src-native/pods/Headers/jsi/threadsafe.h +0 -79
  273. package/src-native/pods/Headers/runtime/ArgConverter.h +0 -61
  274. package/src-native/pods/Headers/runtime/ArrayAdapter.h +0 -13
  275. package/src-native/pods/Headers/runtime/Caches.h +0 -98
  276. package/src-native/pods/Headers/runtime/ClassBuilder.h +0 -61
  277. package/src-native/pods/Headers/runtime/Common.h +0 -9
  278. package/src-native/pods/Headers/runtime/ConcurrentMap.h +0 -55
  279. package/src-native/pods/Headers/runtime/ConcurrentQueue.h +0 -28
  280. package/src-native/pods/Headers/runtime/Console.h +0 -27
  281. package/src-native/pods/Headers/runtime/Constants.h +0 -15
  282. package/src-native/pods/Headers/runtime/DataWrapper.h +0 -671
  283. package/src-native/pods/Headers/runtime/DictionaryAdapter.h +0 -13
  284. package/src-native/pods/Headers/runtime/ExtVector.h +0 -21
  285. package/src-native/pods/Headers/runtime/FFICall.h +0 -105
  286. package/src-native/pods/Headers/runtime/FastEnumerationAdapter.h +0 -13
  287. package/src-native/pods/Headers/runtime/FunctionReference.h +0 -18
  288. package/src-native/pods/Headers/runtime/Helpers.h +0 -84
  289. package/src-native/pods/Headers/runtime/InlineFunctions.h +0 -16
  290. package/src-native/pods/Headers/runtime/Interop.h +0 -202
  291. package/src-native/pods/Headers/runtime/KnownUnknownClassPair.h +0 -35
  292. package/src-native/pods/Headers/runtime/Metadata.h +0 -981
  293. package/src-native/pods/Headers/runtime/MetadataBuilder.h +0 -72
  294. package/src-native/pods/Headers/runtime/MetadataInlines.h +0 -157
  295. package/src-native/pods/Headers/runtime/ModuleInternal.h +0 -59
  296. package/src-native/pods/Headers/runtime/NSDataAdapter.h +0 -13
  297. package/src-native/pods/Headers/runtime/NativeScriptException.h +0 -27
  298. package/src-native/pods/Headers/runtime/ObjectManager.h +0 -31
  299. package/src-native/pods/Headers/runtime/OneByteStringResource.h +0 -21
  300. package/src-native/pods/Headers/runtime/Pointer.h +0 -26
  301. package/src-native/pods/Headers/runtime/PromiseProxy.h +0 -15
  302. package/src-native/pods/Headers/runtime/Reference.h +0 -38
  303. package/src-native/pods/Headers/runtime/Runtime.h +0 -67
  304. package/src-native/pods/Headers/runtime/RuntimeConfig.h +0 -17
  305. package/src-native/pods/Headers/runtime/SetTimeout.h +0 -34
  306. package/src-native/pods/Headers/runtime/SimpleAllocator.h +0 -23
  307. package/src-native/pods/Headers/runtime/StringHasher.h +0 -315
  308. package/src-native/pods/Headers/runtime/SymbolIterator.h +0 -18
  309. package/src-native/pods/Headers/runtime/SymbolLoader.h +0 -27
  310. package/src-native/pods/Headers/runtime/TNSDerivedClass.h +0 -8
  311. package/src-native/pods/Headers/runtime/TSHelpers.h +0 -15
  312. package/src-native/pods/Headers/runtime/Tasks.h +0 -19
  313. package/src-native/pods/Headers/runtime/UnmanagedType.h +0 -21
  314. package/src-native/pods/Headers/runtime/WeakRef.h +0 -15
  315. package/src-native/pods/Headers/runtime/Worker.h +0 -26
  316. package/src-native/pods/Headers/runtime/robin_hood.h +0 -2184
  317. package/src-native/pods/Headers/v8runtime/HostProxy.h +0 -71
  318. package/src-native/pods/Headers/v8runtime/JSIV8ValueConverter.h +0 -70
  319. package/src-native/pods/Headers/v8runtime/V8PointerValue.h +0 -44
  320. package/src-native/pods/Headers/v8runtime/V8Runtime.h +0 -215
  321. package/src-native/pods/Headers/v8runtime/V8RuntimeConfig.h +0 -26
  322. package/src-native/pods/Headers/v8runtime/V8RuntimeFactory.h +0 -21
  323. package/src-native/pods/NativeScript.podspec +0 -68
@@ -1,793 +0,0 @@
1
- // This file is generated by TypeBuilder_h.template.
2
-
3
- // Copyright (c) 2016 The Chromium Authors. All rights reserved.
4
- // Use of this source code is governed by a BSD-style license that can be
5
- // found in the LICENSE file.
6
-
7
- #ifndef v8_inspector_protocol_Security_h
8
- #define v8_inspector_protocol_Security_h
9
-
10
- #include "src/inspector/protocol/Protocol.h"
11
- // For each imported domain we generate a ValueConversions struct instead of a full domain definition
12
- // and include Domain::API version from there.
13
-
14
- namespace v8_inspector {
15
- namespace protocol {
16
- namespace Security {
17
- using CertificateId = int;
18
- using MixedContentType = String;
19
- using SecurityState = String;
20
- class CertificateSecurityState;
21
- using SafetyTipStatus = String;
22
- class SafetyTipInfo;
23
- class VisibleSecurityState;
24
- class SecurityStateExplanation;
25
- class InsecureContentStatus;
26
-
27
- // ------------- Forward and enum declarations.
28
-
29
- namespace MixedContentTypeEnum {
30
- extern const char Blockable[];
31
- extern const char OptionallyBlockable[];
32
- extern const char None[];
33
- } // namespace MixedContentTypeEnum
34
-
35
- namespace SecurityStateEnum {
36
- extern const char Unknown[];
37
- extern const char Neutral[];
38
- extern const char Insecure[];
39
- extern const char Secure[];
40
- extern const char Info[];
41
- extern const char InsecureBroken[];
42
- } // namespace SecurityStateEnum
43
-
44
- namespace SafetyTipStatusEnum {
45
- extern const char BadReputation[];
46
- extern const char Lookalike[];
47
- } // namespace SafetyTipStatusEnum
48
-
49
- // ------------- Type and builder declarations.
50
-
51
- class CertificateSecurityState : public ::v8_crdtp::ProtocolObject<CertificateSecurityState> {
52
- public:
53
- ~CertificateSecurityState() override { }
54
-
55
- String getProtocol() { return m_protocol; }
56
- void setProtocol(const String& value) { m_protocol = value; }
57
-
58
- String getKeyExchange() { return m_keyExchange; }
59
- void setKeyExchange(const String& value) { m_keyExchange = value; }
60
-
61
- bool hasKeyExchangeGroup() { return m_keyExchangeGroup.isJust(); }
62
- String getKeyExchangeGroup(const String& defaultValue) { return m_keyExchangeGroup.isJust() ? m_keyExchangeGroup.fromJust() : defaultValue; }
63
- void setKeyExchangeGroup(const String& value) { m_keyExchangeGroup = value; }
64
-
65
- String getCipher() { return m_cipher; }
66
- void setCipher(const String& value) { m_cipher = value; }
67
-
68
- bool hasMac() { return m_mac.isJust(); }
69
- String getMac(const String& defaultValue) { return m_mac.isJust() ? m_mac.fromJust() : defaultValue; }
70
- void setMac(const String& value) { m_mac = value; }
71
-
72
- protocol::Array<String>* getCertificate() { return m_certificate.get(); }
73
- void setCertificate(std::unique_ptr<protocol::Array<String>> value) { m_certificate = std::move(value); }
74
-
75
- String getSubjectName() { return m_subjectName; }
76
- void setSubjectName(const String& value) { m_subjectName = value; }
77
-
78
- String getIssuer() { return m_issuer; }
79
- void setIssuer(const String& value) { m_issuer = value; }
80
-
81
- double getValidFrom() { return m_validFrom; }
82
- void setValidFrom(double value) { m_validFrom = value; }
83
-
84
- double getValidTo() { return m_validTo; }
85
- void setValidTo(double value) { m_validTo = value; }
86
-
87
- bool hasCertificateNetworkError() { return m_certificateNetworkError.isJust(); }
88
- String getCertificateNetworkError(const String& defaultValue) { return m_certificateNetworkError.isJust() ? m_certificateNetworkError.fromJust() : defaultValue; }
89
- void setCertificateNetworkError(const String& value) { m_certificateNetworkError = value; }
90
-
91
- bool getCertificateHasWeakSignature() { return m_certificateHasWeakSignature; }
92
- void setCertificateHasWeakSignature(bool value) { m_certificateHasWeakSignature = value; }
93
-
94
- bool getCertificateHasSha1Signature() { return m_certificateHasSha1Signature; }
95
- void setCertificateHasSha1Signature(bool value) { m_certificateHasSha1Signature = value; }
96
-
97
- bool getModernSSL() { return m_modernSSL; }
98
- void setModernSSL(bool value) { m_modernSSL = value; }
99
-
100
- bool getObsoleteSslProtocol() { return m_obsoleteSslProtocol; }
101
- void setObsoleteSslProtocol(bool value) { m_obsoleteSslProtocol = value; }
102
-
103
- bool getObsoleteSslKeyExchange() { return m_obsoleteSslKeyExchange; }
104
- void setObsoleteSslKeyExchange(bool value) { m_obsoleteSslKeyExchange = value; }
105
-
106
- bool getObsoleteSslCipher() { return m_obsoleteSslCipher; }
107
- void setObsoleteSslCipher(bool value) { m_obsoleteSslCipher = value; }
108
-
109
- bool getObsoleteSslSignature() { return m_obsoleteSslSignature; }
110
- void setObsoleteSslSignature(bool value) { m_obsoleteSslSignature = value; }
111
-
112
- template<int STATE>
113
- class CertificateSecurityStateBuilder {
114
- public:
115
- enum {
116
- NoFieldsSet = 0,
117
- ProtocolSet = 1 << 1,
118
- KeyExchangeSet = 1 << 2,
119
- CipherSet = 1 << 3,
120
- CertificateSet = 1 << 4,
121
- SubjectNameSet = 1 << 5,
122
- IssuerSet = 1 << 6,
123
- ValidFromSet = 1 << 7,
124
- ValidToSet = 1 << 8,
125
- CertificateHasWeakSignatureSet = 1 << 9,
126
- CertificateHasSha1SignatureSet = 1 << 10,
127
- ModernSSLSet = 1 << 11,
128
- ObsoleteSslProtocolSet = 1 << 12,
129
- ObsoleteSslKeyExchangeSet = 1 << 13,
130
- ObsoleteSslCipherSet = 1 << 14,
131
- ObsoleteSslSignatureSet = 1 << 15,
132
- AllFieldsSet = (ProtocolSet | KeyExchangeSet | CipherSet | CertificateSet | SubjectNameSet | IssuerSet | ValidFromSet | ValidToSet | CertificateHasWeakSignatureSet | CertificateHasSha1SignatureSet | ModernSSLSet | ObsoleteSslProtocolSet | ObsoleteSslKeyExchangeSet | ObsoleteSslCipherSet | ObsoleteSslSignatureSet | 0)};
133
-
134
-
135
- CertificateSecurityStateBuilder<STATE | ProtocolSet>& setProtocol(const String& value)
136
- {
137
- static_assert(!(STATE & ProtocolSet), "property protocol should not be set yet");
138
- m_result->setProtocol(value);
139
- return castState<ProtocolSet>();
140
- }
141
-
142
- CertificateSecurityStateBuilder<STATE | KeyExchangeSet>& setKeyExchange(const String& value)
143
- {
144
- static_assert(!(STATE & KeyExchangeSet), "property keyExchange should not be set yet");
145
- m_result->setKeyExchange(value);
146
- return castState<KeyExchangeSet>();
147
- }
148
-
149
- CertificateSecurityStateBuilder<STATE>& setKeyExchangeGroup(const String& value)
150
- {
151
- m_result->setKeyExchangeGroup(value);
152
- return *this;
153
- }
154
-
155
- CertificateSecurityStateBuilder<STATE | CipherSet>& setCipher(const String& value)
156
- {
157
- static_assert(!(STATE & CipherSet), "property cipher should not be set yet");
158
- m_result->setCipher(value);
159
- return castState<CipherSet>();
160
- }
161
-
162
- CertificateSecurityStateBuilder<STATE>& setMac(const String& value)
163
- {
164
- m_result->setMac(value);
165
- return *this;
166
- }
167
-
168
- CertificateSecurityStateBuilder<STATE | CertificateSet>& setCertificate(std::unique_ptr<protocol::Array<String>> value)
169
- {
170
- static_assert(!(STATE & CertificateSet), "property certificate should not be set yet");
171
- m_result->setCertificate(std::move(value));
172
- return castState<CertificateSet>();
173
- }
174
-
175
- CertificateSecurityStateBuilder<STATE | SubjectNameSet>& setSubjectName(const String& value)
176
- {
177
- static_assert(!(STATE & SubjectNameSet), "property subjectName should not be set yet");
178
- m_result->setSubjectName(value);
179
- return castState<SubjectNameSet>();
180
- }
181
-
182
- CertificateSecurityStateBuilder<STATE | IssuerSet>& setIssuer(const String& value)
183
- {
184
- static_assert(!(STATE & IssuerSet), "property issuer should not be set yet");
185
- m_result->setIssuer(value);
186
- return castState<IssuerSet>();
187
- }
188
-
189
- CertificateSecurityStateBuilder<STATE | ValidFromSet>& setValidFrom(double value)
190
- {
191
- static_assert(!(STATE & ValidFromSet), "property validFrom should not be set yet");
192
- m_result->setValidFrom(value);
193
- return castState<ValidFromSet>();
194
- }
195
-
196
- CertificateSecurityStateBuilder<STATE | ValidToSet>& setValidTo(double value)
197
- {
198
- static_assert(!(STATE & ValidToSet), "property validTo should not be set yet");
199
- m_result->setValidTo(value);
200
- return castState<ValidToSet>();
201
- }
202
-
203
- CertificateSecurityStateBuilder<STATE>& setCertificateNetworkError(const String& value)
204
- {
205
- m_result->setCertificateNetworkError(value);
206
- return *this;
207
- }
208
-
209
- CertificateSecurityStateBuilder<STATE | CertificateHasWeakSignatureSet>& setCertificateHasWeakSignature(bool value)
210
- {
211
- static_assert(!(STATE & CertificateHasWeakSignatureSet), "property certificateHasWeakSignature should not be set yet");
212
- m_result->setCertificateHasWeakSignature(value);
213
- return castState<CertificateHasWeakSignatureSet>();
214
- }
215
-
216
- CertificateSecurityStateBuilder<STATE | CertificateHasSha1SignatureSet>& setCertificateHasSha1Signature(bool value)
217
- {
218
- static_assert(!(STATE & CertificateHasSha1SignatureSet), "property certificateHasSha1Signature should not be set yet");
219
- m_result->setCertificateHasSha1Signature(value);
220
- return castState<CertificateHasSha1SignatureSet>();
221
- }
222
-
223
- CertificateSecurityStateBuilder<STATE | ModernSSLSet>& setModernSSL(bool value)
224
- {
225
- static_assert(!(STATE & ModernSSLSet), "property modernSSL should not be set yet");
226
- m_result->setModernSSL(value);
227
- return castState<ModernSSLSet>();
228
- }
229
-
230
- CertificateSecurityStateBuilder<STATE | ObsoleteSslProtocolSet>& setObsoleteSslProtocol(bool value)
231
- {
232
- static_assert(!(STATE & ObsoleteSslProtocolSet), "property obsoleteSslProtocol should not be set yet");
233
- m_result->setObsoleteSslProtocol(value);
234
- return castState<ObsoleteSslProtocolSet>();
235
- }
236
-
237
- CertificateSecurityStateBuilder<STATE | ObsoleteSslKeyExchangeSet>& setObsoleteSslKeyExchange(bool value)
238
- {
239
- static_assert(!(STATE & ObsoleteSslKeyExchangeSet), "property obsoleteSslKeyExchange should not be set yet");
240
- m_result->setObsoleteSslKeyExchange(value);
241
- return castState<ObsoleteSslKeyExchangeSet>();
242
- }
243
-
244
- CertificateSecurityStateBuilder<STATE | ObsoleteSslCipherSet>& setObsoleteSslCipher(bool value)
245
- {
246
- static_assert(!(STATE & ObsoleteSslCipherSet), "property obsoleteSslCipher should not be set yet");
247
- m_result->setObsoleteSslCipher(value);
248
- return castState<ObsoleteSslCipherSet>();
249
- }
250
-
251
- CertificateSecurityStateBuilder<STATE | ObsoleteSslSignatureSet>& setObsoleteSslSignature(bool value)
252
- {
253
- static_assert(!(STATE & ObsoleteSslSignatureSet), "property obsoleteSslSignature should not be set yet");
254
- m_result->setObsoleteSslSignature(value);
255
- return castState<ObsoleteSslSignatureSet>();
256
- }
257
-
258
- std::unique_ptr<CertificateSecurityState> build()
259
- {
260
- static_assert(STATE == AllFieldsSet, "state should be AllFieldsSet");
261
- return std::move(m_result);
262
- }
263
-
264
- private:
265
- friend class CertificateSecurityState;
266
- CertificateSecurityStateBuilder() : m_result(new CertificateSecurityState()) { }
267
-
268
- template<int STEP> CertificateSecurityStateBuilder<STATE | STEP>& castState()
269
- {
270
- return *reinterpret_cast<CertificateSecurityStateBuilder<STATE | STEP>*>(this);
271
- }
272
-
273
- std::unique_ptr<protocol::Security::CertificateSecurityState> m_result;
274
- };
275
-
276
- static CertificateSecurityStateBuilder<0> create()
277
- {
278
- return CertificateSecurityStateBuilder<0>();
279
- }
280
-
281
- private:
282
- DECLARE_SERIALIZATION_SUPPORT();
283
-
284
- CertificateSecurityState()
285
- {
286
- m_validFrom = 0;
287
- m_validTo = 0;
288
- m_certificateHasWeakSignature = false;
289
- m_certificateHasSha1Signature = false;
290
- m_modernSSL = false;
291
- m_obsoleteSslProtocol = false;
292
- m_obsoleteSslKeyExchange = false;
293
- m_obsoleteSslCipher = false;
294
- m_obsoleteSslSignature = false;
295
- }
296
-
297
- String m_protocol;
298
- String m_keyExchange;
299
- Maybe<String> m_keyExchangeGroup;
300
- String m_cipher;
301
- Maybe<String> m_mac;
302
- std::unique_ptr<protocol::Array<String>> m_certificate;
303
- String m_subjectName;
304
- String m_issuer;
305
- double m_validFrom;
306
- double m_validTo;
307
- Maybe<String> m_certificateNetworkError;
308
- bool m_certificateHasWeakSignature;
309
- bool m_certificateHasSha1Signature;
310
- bool m_modernSSL;
311
- bool m_obsoleteSslProtocol;
312
- bool m_obsoleteSslKeyExchange;
313
- bool m_obsoleteSslCipher;
314
- bool m_obsoleteSslSignature;
315
- };
316
-
317
-
318
- class SafetyTipInfo : public ::v8_crdtp::ProtocolObject<SafetyTipInfo> {
319
- public:
320
- ~SafetyTipInfo() override { }
321
-
322
- String getSafetyTipStatus() { return m_safetyTipStatus; }
323
- void setSafetyTipStatus(const String& value) { m_safetyTipStatus = value; }
324
-
325
- bool hasSafeUrl() { return m_safeUrl.isJust(); }
326
- String getSafeUrl(const String& defaultValue) { return m_safeUrl.isJust() ? m_safeUrl.fromJust() : defaultValue; }
327
- void setSafeUrl(const String& value) { m_safeUrl = value; }
328
-
329
- template<int STATE>
330
- class SafetyTipInfoBuilder {
331
- public:
332
- enum {
333
- NoFieldsSet = 0,
334
- SafetyTipStatusSet = 1 << 1,
335
- AllFieldsSet = (SafetyTipStatusSet | 0)};
336
-
337
-
338
- SafetyTipInfoBuilder<STATE | SafetyTipStatusSet>& setSafetyTipStatus(const String& value)
339
- {
340
- static_assert(!(STATE & SafetyTipStatusSet), "property safetyTipStatus should not be set yet");
341
- m_result->setSafetyTipStatus(value);
342
- return castState<SafetyTipStatusSet>();
343
- }
344
-
345
- SafetyTipInfoBuilder<STATE>& setSafeUrl(const String& value)
346
- {
347
- m_result->setSafeUrl(value);
348
- return *this;
349
- }
350
-
351
- std::unique_ptr<SafetyTipInfo> build()
352
- {
353
- static_assert(STATE == AllFieldsSet, "state should be AllFieldsSet");
354
- return std::move(m_result);
355
- }
356
-
357
- private:
358
- friend class SafetyTipInfo;
359
- SafetyTipInfoBuilder() : m_result(new SafetyTipInfo()) { }
360
-
361
- template<int STEP> SafetyTipInfoBuilder<STATE | STEP>& castState()
362
- {
363
- return *reinterpret_cast<SafetyTipInfoBuilder<STATE | STEP>*>(this);
364
- }
365
-
366
- std::unique_ptr<protocol::Security::SafetyTipInfo> m_result;
367
- };
368
-
369
- static SafetyTipInfoBuilder<0> create()
370
- {
371
- return SafetyTipInfoBuilder<0>();
372
- }
373
-
374
- private:
375
- DECLARE_SERIALIZATION_SUPPORT();
376
-
377
- SafetyTipInfo()
378
- {
379
- }
380
-
381
- String m_safetyTipStatus;
382
- Maybe<String> m_safeUrl;
383
- };
384
-
385
-
386
- class VisibleSecurityState : public ::v8_crdtp::ProtocolObject<VisibleSecurityState> {
387
- public:
388
- ~VisibleSecurityState() override { }
389
-
390
- String getSecurityState() { return m_securityState; }
391
- void setSecurityState(const String& value) { m_securityState = value; }
392
-
393
- bool hasCertificateSecurityState() { return m_certificateSecurityState.isJust(); }
394
- protocol::Security::CertificateSecurityState* getCertificateSecurityState(protocol::Security::CertificateSecurityState* defaultValue) { return m_certificateSecurityState.isJust() ? m_certificateSecurityState.fromJust() : defaultValue; }
395
- void setCertificateSecurityState(std::unique_ptr<protocol::Security::CertificateSecurityState> value) { m_certificateSecurityState = std::move(value); }
396
-
397
- bool hasSafetyTipInfo() { return m_safetyTipInfo.isJust(); }
398
- protocol::Security::SafetyTipInfo* getSafetyTipInfo(protocol::Security::SafetyTipInfo* defaultValue) { return m_safetyTipInfo.isJust() ? m_safetyTipInfo.fromJust() : defaultValue; }
399
- void setSafetyTipInfo(std::unique_ptr<protocol::Security::SafetyTipInfo> value) { m_safetyTipInfo = std::move(value); }
400
-
401
- protocol::Array<String>* getSecurityStateIssueIds() { return m_securityStateIssueIds.get(); }
402
- void setSecurityStateIssueIds(std::unique_ptr<protocol::Array<String>> value) { m_securityStateIssueIds = std::move(value); }
403
-
404
- template<int STATE>
405
- class VisibleSecurityStateBuilder {
406
- public:
407
- enum {
408
- NoFieldsSet = 0,
409
- SecurityStateSet = 1 << 1,
410
- SecurityStateIssueIdsSet = 1 << 2,
411
- AllFieldsSet = (SecurityStateSet | SecurityStateIssueIdsSet | 0)};
412
-
413
-
414
- VisibleSecurityStateBuilder<STATE | SecurityStateSet>& setSecurityState(const String& value)
415
- {
416
- static_assert(!(STATE & SecurityStateSet), "property securityState should not be set yet");
417
- m_result->setSecurityState(value);
418
- return castState<SecurityStateSet>();
419
- }
420
-
421
- VisibleSecurityStateBuilder<STATE>& setCertificateSecurityState(std::unique_ptr<protocol::Security::CertificateSecurityState> value)
422
- {
423
- m_result->setCertificateSecurityState(std::move(value));
424
- return *this;
425
- }
426
-
427
- VisibleSecurityStateBuilder<STATE>& setSafetyTipInfo(std::unique_ptr<protocol::Security::SafetyTipInfo> value)
428
- {
429
- m_result->setSafetyTipInfo(std::move(value));
430
- return *this;
431
- }
432
-
433
- VisibleSecurityStateBuilder<STATE | SecurityStateIssueIdsSet>& setSecurityStateIssueIds(std::unique_ptr<protocol::Array<String>> value)
434
- {
435
- static_assert(!(STATE & SecurityStateIssueIdsSet), "property securityStateIssueIds should not be set yet");
436
- m_result->setSecurityStateIssueIds(std::move(value));
437
- return castState<SecurityStateIssueIdsSet>();
438
- }
439
-
440
- std::unique_ptr<VisibleSecurityState> build()
441
- {
442
- static_assert(STATE == AllFieldsSet, "state should be AllFieldsSet");
443
- return std::move(m_result);
444
- }
445
-
446
- private:
447
- friend class VisibleSecurityState;
448
- VisibleSecurityStateBuilder() : m_result(new VisibleSecurityState()) { }
449
-
450
- template<int STEP> VisibleSecurityStateBuilder<STATE | STEP>& castState()
451
- {
452
- return *reinterpret_cast<VisibleSecurityStateBuilder<STATE | STEP>*>(this);
453
- }
454
-
455
- std::unique_ptr<protocol::Security::VisibleSecurityState> m_result;
456
- };
457
-
458
- static VisibleSecurityStateBuilder<0> create()
459
- {
460
- return VisibleSecurityStateBuilder<0>();
461
- }
462
-
463
- private:
464
- DECLARE_SERIALIZATION_SUPPORT();
465
-
466
- VisibleSecurityState()
467
- {
468
- }
469
-
470
- String m_securityState;
471
- Maybe<protocol::Security::CertificateSecurityState> m_certificateSecurityState;
472
- Maybe<protocol::Security::SafetyTipInfo> m_safetyTipInfo;
473
- std::unique_ptr<protocol::Array<String>> m_securityStateIssueIds;
474
- };
475
-
476
-
477
- class SecurityStateExplanation : public ::v8_crdtp::ProtocolObject<SecurityStateExplanation> {
478
- public:
479
- ~SecurityStateExplanation() override { }
480
-
481
- String getSecurityState() { return m_securityState; }
482
- void setSecurityState(const String& value) { m_securityState = value; }
483
-
484
- String getTitle() { return m_title; }
485
- void setTitle(const String& value) { m_title = value; }
486
-
487
- String getSummary() { return m_summary; }
488
- void setSummary(const String& value) { m_summary = value; }
489
-
490
- String getDescription() { return m_description; }
491
- void setDescription(const String& value) { m_description = value; }
492
-
493
- String getMixedContentType() { return m_mixedContentType; }
494
- void setMixedContentType(const String& value) { m_mixedContentType = value; }
495
-
496
- protocol::Array<String>* getCertificate() { return m_certificate.get(); }
497
- void setCertificate(std::unique_ptr<protocol::Array<String>> value) { m_certificate = std::move(value); }
498
-
499
- bool hasRecommendations() { return m_recommendations.isJust(); }
500
- protocol::Array<String>* getRecommendations(protocol::Array<String>* defaultValue) { return m_recommendations.isJust() ? m_recommendations.fromJust() : defaultValue; }
501
- void setRecommendations(std::unique_ptr<protocol::Array<String>> value) { m_recommendations = std::move(value); }
502
-
503
- template<int STATE>
504
- class SecurityStateExplanationBuilder {
505
- public:
506
- enum {
507
- NoFieldsSet = 0,
508
- SecurityStateSet = 1 << 1,
509
- TitleSet = 1 << 2,
510
- SummarySet = 1 << 3,
511
- DescriptionSet = 1 << 4,
512
- MixedContentTypeSet = 1 << 5,
513
- CertificateSet = 1 << 6,
514
- AllFieldsSet = (SecurityStateSet | TitleSet | SummarySet | DescriptionSet | MixedContentTypeSet | CertificateSet | 0)};
515
-
516
-
517
- SecurityStateExplanationBuilder<STATE | SecurityStateSet>& setSecurityState(const String& value)
518
- {
519
- static_assert(!(STATE & SecurityStateSet), "property securityState should not be set yet");
520
- m_result->setSecurityState(value);
521
- return castState<SecurityStateSet>();
522
- }
523
-
524
- SecurityStateExplanationBuilder<STATE | TitleSet>& setTitle(const String& value)
525
- {
526
- static_assert(!(STATE & TitleSet), "property title should not be set yet");
527
- m_result->setTitle(value);
528
- return castState<TitleSet>();
529
- }
530
-
531
- SecurityStateExplanationBuilder<STATE | SummarySet>& setSummary(const String& value)
532
- {
533
- static_assert(!(STATE & SummarySet), "property summary should not be set yet");
534
- m_result->setSummary(value);
535
- return castState<SummarySet>();
536
- }
537
-
538
- SecurityStateExplanationBuilder<STATE | DescriptionSet>& setDescription(const String& value)
539
- {
540
- static_assert(!(STATE & DescriptionSet), "property description should not be set yet");
541
- m_result->setDescription(value);
542
- return castState<DescriptionSet>();
543
- }
544
-
545
- SecurityStateExplanationBuilder<STATE | MixedContentTypeSet>& setMixedContentType(const String& value)
546
- {
547
- static_assert(!(STATE & MixedContentTypeSet), "property mixedContentType should not be set yet");
548
- m_result->setMixedContentType(value);
549
- return castState<MixedContentTypeSet>();
550
- }
551
-
552
- SecurityStateExplanationBuilder<STATE | CertificateSet>& setCertificate(std::unique_ptr<protocol::Array<String>> value)
553
- {
554
- static_assert(!(STATE & CertificateSet), "property certificate should not be set yet");
555
- m_result->setCertificate(std::move(value));
556
- return castState<CertificateSet>();
557
- }
558
-
559
- SecurityStateExplanationBuilder<STATE>& setRecommendations(std::unique_ptr<protocol::Array<String>> value)
560
- {
561
- m_result->setRecommendations(std::move(value));
562
- return *this;
563
- }
564
-
565
- std::unique_ptr<SecurityStateExplanation> build()
566
- {
567
- static_assert(STATE == AllFieldsSet, "state should be AllFieldsSet");
568
- return std::move(m_result);
569
- }
570
-
571
- private:
572
- friend class SecurityStateExplanation;
573
- SecurityStateExplanationBuilder() : m_result(new SecurityStateExplanation()) { }
574
-
575
- template<int STEP> SecurityStateExplanationBuilder<STATE | STEP>& castState()
576
- {
577
- return *reinterpret_cast<SecurityStateExplanationBuilder<STATE | STEP>*>(this);
578
- }
579
-
580
- std::unique_ptr<protocol::Security::SecurityStateExplanation> m_result;
581
- };
582
-
583
- static SecurityStateExplanationBuilder<0> create()
584
- {
585
- return SecurityStateExplanationBuilder<0>();
586
- }
587
-
588
- private:
589
- DECLARE_SERIALIZATION_SUPPORT();
590
-
591
- SecurityStateExplanation()
592
- {
593
- }
594
-
595
- String m_securityState;
596
- String m_title;
597
- String m_summary;
598
- String m_description;
599
- String m_mixedContentType;
600
- std::unique_ptr<protocol::Array<String>> m_certificate;
601
- Maybe<protocol::Array<String>> m_recommendations;
602
- };
603
-
604
-
605
- class InsecureContentStatus : public ::v8_crdtp::ProtocolObject<InsecureContentStatus> {
606
- public:
607
- ~InsecureContentStatus() override { }
608
-
609
- bool getRanMixedContent() { return m_ranMixedContent; }
610
- void setRanMixedContent(bool value) { m_ranMixedContent = value; }
611
-
612
- bool getDisplayedMixedContent() { return m_displayedMixedContent; }
613
- void setDisplayedMixedContent(bool value) { m_displayedMixedContent = value; }
614
-
615
- bool getContainedMixedForm() { return m_containedMixedForm; }
616
- void setContainedMixedForm(bool value) { m_containedMixedForm = value; }
617
-
618
- bool getRanContentWithCertErrors() { return m_ranContentWithCertErrors; }
619
- void setRanContentWithCertErrors(bool value) { m_ranContentWithCertErrors = value; }
620
-
621
- bool getDisplayedContentWithCertErrors() { return m_displayedContentWithCertErrors; }
622
- void setDisplayedContentWithCertErrors(bool value) { m_displayedContentWithCertErrors = value; }
623
-
624
- String getRanInsecureContentStyle() { return m_ranInsecureContentStyle; }
625
- void setRanInsecureContentStyle(const String& value) { m_ranInsecureContentStyle = value; }
626
-
627
- String getDisplayedInsecureContentStyle() { return m_displayedInsecureContentStyle; }
628
- void setDisplayedInsecureContentStyle(const String& value) { m_displayedInsecureContentStyle = value; }
629
-
630
- template<int STATE>
631
- class InsecureContentStatusBuilder {
632
- public:
633
- enum {
634
- NoFieldsSet = 0,
635
- RanMixedContentSet = 1 << 1,
636
- DisplayedMixedContentSet = 1 << 2,
637
- ContainedMixedFormSet = 1 << 3,
638
- RanContentWithCertErrorsSet = 1 << 4,
639
- DisplayedContentWithCertErrorsSet = 1 << 5,
640
- RanInsecureContentStyleSet = 1 << 6,
641
- DisplayedInsecureContentStyleSet = 1 << 7,
642
- AllFieldsSet = (RanMixedContentSet | DisplayedMixedContentSet | ContainedMixedFormSet | RanContentWithCertErrorsSet | DisplayedContentWithCertErrorsSet | RanInsecureContentStyleSet | DisplayedInsecureContentStyleSet | 0)};
643
-
644
-
645
- InsecureContentStatusBuilder<STATE | RanMixedContentSet>& setRanMixedContent(bool value)
646
- {
647
- static_assert(!(STATE & RanMixedContentSet), "property ranMixedContent should not be set yet");
648
- m_result->setRanMixedContent(value);
649
- return castState<RanMixedContentSet>();
650
- }
651
-
652
- InsecureContentStatusBuilder<STATE | DisplayedMixedContentSet>& setDisplayedMixedContent(bool value)
653
- {
654
- static_assert(!(STATE & DisplayedMixedContentSet), "property displayedMixedContent should not be set yet");
655
- m_result->setDisplayedMixedContent(value);
656
- return castState<DisplayedMixedContentSet>();
657
- }
658
-
659
- InsecureContentStatusBuilder<STATE | ContainedMixedFormSet>& setContainedMixedForm(bool value)
660
- {
661
- static_assert(!(STATE & ContainedMixedFormSet), "property containedMixedForm should not be set yet");
662
- m_result->setContainedMixedForm(value);
663
- return castState<ContainedMixedFormSet>();
664
- }
665
-
666
- InsecureContentStatusBuilder<STATE | RanContentWithCertErrorsSet>& setRanContentWithCertErrors(bool value)
667
- {
668
- static_assert(!(STATE & RanContentWithCertErrorsSet), "property ranContentWithCertErrors should not be set yet");
669
- m_result->setRanContentWithCertErrors(value);
670
- return castState<RanContentWithCertErrorsSet>();
671
- }
672
-
673
- InsecureContentStatusBuilder<STATE | DisplayedContentWithCertErrorsSet>& setDisplayedContentWithCertErrors(bool value)
674
- {
675
- static_assert(!(STATE & DisplayedContentWithCertErrorsSet), "property displayedContentWithCertErrors should not be set yet");
676
- m_result->setDisplayedContentWithCertErrors(value);
677
- return castState<DisplayedContentWithCertErrorsSet>();
678
- }
679
-
680
- InsecureContentStatusBuilder<STATE | RanInsecureContentStyleSet>& setRanInsecureContentStyle(const String& value)
681
- {
682
- static_assert(!(STATE & RanInsecureContentStyleSet), "property ranInsecureContentStyle should not be set yet");
683
- m_result->setRanInsecureContentStyle(value);
684
- return castState<RanInsecureContentStyleSet>();
685
- }
686
-
687
- InsecureContentStatusBuilder<STATE | DisplayedInsecureContentStyleSet>& setDisplayedInsecureContentStyle(const String& value)
688
- {
689
- static_assert(!(STATE & DisplayedInsecureContentStyleSet), "property displayedInsecureContentStyle should not be set yet");
690
- m_result->setDisplayedInsecureContentStyle(value);
691
- return castState<DisplayedInsecureContentStyleSet>();
692
- }
693
-
694
- std::unique_ptr<InsecureContentStatus> build()
695
- {
696
- static_assert(STATE == AllFieldsSet, "state should be AllFieldsSet");
697
- return std::move(m_result);
698
- }
699
-
700
- private:
701
- friend class InsecureContentStatus;
702
- InsecureContentStatusBuilder() : m_result(new InsecureContentStatus()) { }
703
-
704
- template<int STEP> InsecureContentStatusBuilder<STATE | STEP>& castState()
705
- {
706
- return *reinterpret_cast<InsecureContentStatusBuilder<STATE | STEP>*>(this);
707
- }
708
-
709
- std::unique_ptr<protocol::Security::InsecureContentStatus> m_result;
710
- };
711
-
712
- static InsecureContentStatusBuilder<0> create()
713
- {
714
- return InsecureContentStatusBuilder<0>();
715
- }
716
-
717
- private:
718
- DECLARE_SERIALIZATION_SUPPORT();
719
-
720
- InsecureContentStatus()
721
- {
722
- m_ranMixedContent = false;
723
- m_displayedMixedContent = false;
724
- m_containedMixedForm = false;
725
- m_ranContentWithCertErrors = false;
726
- m_displayedContentWithCertErrors = false;
727
- }
728
-
729
- bool m_ranMixedContent;
730
- bool m_displayedMixedContent;
731
- bool m_containedMixedForm;
732
- bool m_ranContentWithCertErrors;
733
- bool m_displayedContentWithCertErrors;
734
- String m_ranInsecureContentStyle;
735
- String m_displayedInsecureContentStyle;
736
- };
737
-
738
-
739
- // ------------- Backend interface.
740
-
741
- class Backend {
742
- public:
743
- virtual ~Backend() { }
744
-
745
-
746
- virtual DispatchResponse disable()
747
- {
748
- return DispatchResponse::Success();
749
- }
750
- };
751
-
752
- // ------------- Frontend interface.
753
-
754
- class Frontend {
755
- public:
756
- explicit Frontend(FrontendChannel* frontend_channel) : frontend_channel_(frontend_channel) {}
757
- void certificateError(int eventId, const String& errorType, const String& requestURL);
758
- void visibleSecurityStateChanged(std::unique_ptr<protocol::Security::VisibleSecurityState> visibleSecurityState);
759
- void securityStateChanged(const String& securityState, bool schemeIsCryptographic, std::unique_ptr<protocol::Array<protocol::Security::SecurityStateExplanation>> explanations, std::unique_ptr<protocol::Security::InsecureContentStatus> insecureContentStatus, Maybe<String> summary = Maybe<String>());
760
-
761
- void flush();
762
- void sendRawNotification(std::unique_ptr<Serializable>);
763
- private:
764
- FrontendChannel* frontend_channel_;
765
- };
766
-
767
- // ------------- Dispatcher.
768
-
769
- class Dispatcher {
770
- public:
771
- static void wire(UberDispatcher*, Backend*);
772
-
773
- private:
774
- Dispatcher() { }
775
- };
776
-
777
- // ------------- Metainfo.
778
-
779
- class Metainfo {
780
- public:
781
- using BackendClass = Backend;
782
- using FrontendClass = Frontend;
783
- using DispatcherClass = Dispatcher;
784
- static const char domainName[];
785
- static const char commandPrefix[];
786
- static const char version[];
787
- };
788
-
789
- } // namespace Security
790
- } // namespace v8_inspector
791
- } // namespace protocol
792
-
793
- #endif // !defined(v8_inspector_protocol_Security_h)