1### Begin File: InspectorBackendCommands.js
2/*
3 * Copyright (C) 2013 Google Inc. All rights reserved.
4 * Copyright (C) 2013-2016 Apple Inc. All rights reserved.
5 * Copyright (C) 2014 University of Washington. All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:
10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution.
15 *
16 * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
17 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
18 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
19 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
20 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
24 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
26 * THE POSSIBILITY OF SUCH DAMAGE.
27 */
28
29// DO NOT EDIT THIS FILE. It is automatically generated from version.json
30// by the script: Source/JavaScriptCore/inspector/scripts/generate-inspector-protocol-bindings.py
31
32// VersionDomain.
33InspectorBackend.registerVersion("VersionDomain", 42);
34InspectorBackend.activateDomain("VersionDomain");
35### End File: InspectorBackendCommands.js
36
37### Begin File: TestAlternateBackendDispatchers.h
38/*
39 * Copyright (C) 2013 Google Inc. All rights reserved.
40 * Copyright (C) 2013-2016 Apple Inc. All rights reserved.
41 * Copyright (C) 2014 University of Washington. All rights reserved.
42 *
43 * Redistribution and use in source and binary forms, with or without
44 * modification, are permitted provided that the following conditions
45 * are met:
46 * 1. Redistributions of source code must retain the above copyright
47 * notice, this list of conditions and the following disclaimer.
48 * 2. Redistributions in binary form must reproduce the above copyright
49 * notice, this list of conditions and the following disclaimer in the
50 * documentation and/or other materials provided with the distribution.
51 *
52 * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
53 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
54 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
55 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
56 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
57 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
58 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
59 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
60 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
61 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
62 * THE POSSIBILITY OF SUCH DAMAGE.
63 */
64
65// DO NOT EDIT THIS FILE. It is automatically generated from version.json
66// by the script: Source/JavaScriptCore/inspector/scripts/generate-inspector-protocol-bindings.py
67
68#pragma once
69
70#if ENABLE(INSPECTOR_ALTERNATE_DISPATCHERS)
71
72#include "TestProtocolTypes.h"
73#include <JavaScriptCore/InspectorBackendDispatcher.h>
74#include <JavaScriptCore/InspectorFrontendRouter.h>
75
76namespace Inspector {
77
78class AlternateBackendDispatcher {
79public:
80 void setBackendDispatcher(RefPtr<BackendDispatcher>&& dispatcher) { m_backendDispatcher = WTFMove(dispatcher); }
81 BackendDispatcher* backendDispatcher() const { return m_backendDispatcher.get(); }
82private:
83 RefPtr<BackendDispatcher> m_backendDispatcher;
84};
85
86
87
88
89} // namespace Inspector
90
91#endif // ENABLE(INSPECTOR_ALTERNATE_DISPATCHERS)
92### End File: TestAlternateBackendDispatchers.h
93
94### Begin File: TestBackendDispatchers.h
95/*
96 * Copyright (C) 2013 Google Inc. All rights reserved.
97 * Copyright (C) 2013-2016 Apple Inc. All rights reserved.
98 * Copyright (C) 2014 University of Washington. All rights reserved.
99 *
100 * Redistribution and use in source and binary forms, with or without
101 * modification, are permitted provided that the following conditions
102 * are met:
103 * 1. Redistributions of source code must retain the above copyright
104 * notice, this list of conditions and the following disclaimer.
105 * 2. Redistributions in binary form must reproduce the above copyright
106 * notice, this list of conditions and the following disclaimer in the
107 * documentation and/or other materials provided with the distribution.
108 *
109 * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
110 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
111 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
112 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
113 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
114 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
115 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
116 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
117 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
118 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
119 * THE POSSIBILITY OF SUCH DAMAGE.
120 */
121
122// DO NOT EDIT THIS FILE. It is automatically generated from version.json
123// by the script: Source/JavaScriptCore/inspector/scripts/generate-inspector-protocol-bindings.py
124
125#pragma once
126
127#include "TestProtocolObjects.h"
128#include <JavaScriptCore/InspectorBackendDispatcher.h>
129#include <wtf/text/WTFString.h>
130
131namespace Inspector {
132
133typedef String ErrorString;
134
135
136
137} // namespace Inspector
138### End File: TestBackendDispatchers.h
139
140### Begin File: TestBackendDispatchers.cpp
141/*
142 * Copyright (C) 2013 Google Inc. All rights reserved.
143 * Copyright (C) 2013-2016 Apple Inc. All rights reserved.
144 * Copyright (C) 2014 University of Washington. All rights reserved.
145 *
146 * Redistribution and use in source and binary forms, with or without
147 * modification, are permitted provided that the following conditions
148 * are met:
149 * 1. Redistributions of source code must retain the above copyright
150 * notice, this list of conditions and the following disclaimer.
151 * 2. Redistributions in binary form must reproduce the above copyright
152 * notice, this list of conditions and the following disclaimer in the
153 * documentation and/or other materials provided with the distribution.
154 *
155 * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
156 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
157 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
158 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
159 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
160 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
161 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
162 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
163 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
164 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
165 * THE POSSIBILITY OF SUCH DAMAGE.
166 */
167
168// DO NOT EDIT THIS FILE. It is automatically generated from version.json
169// by the script: Source/JavaScriptCore/inspector/scripts/generate-inspector-protocol-bindings.py
170
171#include "config.h"
172#include "TestBackendDispatchers.h"
173
174#include <JavaScriptCore/InspectorFrontendRouter.h>
175#include <wtf/JSONValues.h>
176#include <wtf/NeverDestroyed.h>
177#include <wtf/text/CString.h>
178
179#if ENABLE(INSPECTOR_ALTERNATE_DISPATCHERS)
180#include "TestAlternateBackendDispatchers.h"
181#endif
182
183namespace Inspector {
184
185
186
187} // namespace Inspector
188
189### End File: TestBackendDispatchers.cpp
190
191### Begin File: TestFrontendDispatchers.h
192/*
193 * Copyright (C) 2013 Google Inc. All rights reserved.
194 * Copyright (C) 2013-2016 Apple Inc. All rights reserved.
195 * Copyright (C) 2014 University of Washington. All rights reserved.
196 *
197 * Redistribution and use in source and binary forms, with or without
198 * modification, are permitted provided that the following conditions
199 * are met:
200 * 1. Redistributions of source code must retain the above copyright
201 * notice, this list of conditions and the following disclaimer.
202 * 2. Redistributions in binary form must reproduce the above copyright
203 * notice, this list of conditions and the following disclaimer in the
204 * documentation and/or other materials provided with the distribution.
205 *
206 * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
207 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
208 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
209 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
210 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
211 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
212 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
213 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
214 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
215 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
216 * THE POSSIBILITY OF SUCH DAMAGE.
217 */
218
219// DO NOT EDIT THIS FILE. It is automatically generated from version.json
220// by the script: Source/JavaScriptCore/inspector/scripts/generate-inspector-protocol-bindings.py
221
222#pragma once
223
224#include "TestProtocolObjects.h"
225#include <wtf/JSONValues.h>
226#include <wtf/text/WTFString.h>
227
228namespace Inspector {
229
230class FrontendRouter;
231
232} // namespace Inspector
233### End File: TestFrontendDispatchers.h
234
235### Begin File: TestFrontendDispatchers.cpp
236/*
237 * Copyright (C) 2013 Google Inc. All rights reserved.
238 * Copyright (C) 2013-2016 Apple Inc. All rights reserved.
239 * Copyright (C) 2014 University of Washington. All rights reserved.
240 *
241 * Redistribution and use in source and binary forms, with or without
242 * modification, are permitted provided that the following conditions
243 * are met:
244 * 1. Redistributions of source code must retain the above copyright
245 * notice, this list of conditions and the following disclaimer.
246 * 2. Redistributions in binary form must reproduce the above copyright
247 * notice, this list of conditions and the following disclaimer in the
248 * documentation and/or other materials provided with the distribution.
249 *
250 * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
251 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
252 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
253 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
254 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
255 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
256 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
257 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
258 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
259 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
260 * THE POSSIBILITY OF SUCH DAMAGE.
261 */
262
263// DO NOT EDIT THIS FILE. It is automatically generated from version.json
264// by the script: Source/JavaScriptCore/inspector/scripts/generate-inspector-protocol-bindings.py
265
266#include "config.h"
267#include "TestFrontendDispatchers.h"
268
269#include <JavaScriptCore/InspectorFrontendRouter.h>
270#include <wtf/text/CString.h>
271
272namespace Inspector {
273
274} // namespace Inspector
275
276### End File: TestFrontendDispatchers.cpp
277
278### Begin File: TestProtocolObjects.h
279/*
280 * Copyright (C) 2013 Google Inc. All rights reserved.
281 * Copyright (C) 2013-2016 Apple Inc. All rights reserved.
282 * Copyright (C) 2014 University of Washington. All rights reserved.
283 *
284 * Redistribution and use in source and binary forms, with or without
285 * modification, are permitted provided that the following conditions
286 * are met:
287 * 1. Redistributions of source code must retain the above copyright
288 * notice, this list of conditions and the following disclaimer.
289 * 2. Redistributions in binary form must reproduce the above copyright
290 * notice, this list of conditions and the following disclaimer in the
291 * documentation and/or other materials provided with the distribution.
292 *
293 * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
294 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
295 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
296 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
297 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
298 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
299 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
300 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
301 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
302 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
303 * THE POSSIBILITY OF SUCH DAMAGE.
304 */
305
306// DO NOT EDIT THIS FILE. It is automatically generated from version.json
307// by the script: Source/JavaScriptCore/inspector/scripts/generate-inspector-protocol-bindings.py
308
309#pragma once
310
311#include <JavaScriptCore/InspectorProtocolTypes.h>
312#include <wtf/Assertions.h>
313
314namespace Inspector {
315
316
317
318namespace Protocol {
319
320// Versions.
321namespace VersionDomain {
322static const unsigned VERSION = 42;
323} // VersionDomain
324// End of versions.
325
326
327
328
329
330
331
332
333} // namespace Protocol
334
335} // namespace Inspector
336### End File: TestProtocolObjects.h
337
338### Begin File: TestProtocolObjects.cpp
339/*
340 * Copyright (C) 2013 Google Inc. All rights reserved.
341 * Copyright (C) 2013-2016 Apple Inc. All rights reserved.
342 * Copyright (C) 2014 University of Washington. All rights reserved.
343 *
344 * Redistribution and use in source and binary forms, with or without
345 * modification, are permitted provided that the following conditions
346 * are met:
347 * 1. Redistributions of source code must retain the above copyright
348 * notice, this list of conditions and the following disclaimer.
349 * 2. Redistributions in binary form must reproduce the above copyright
350 * notice, this list of conditions and the following disclaimer in the
351 * documentation and/or other materials provided with the distribution.
352 *
353 * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
354 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
355 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
356 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
357 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
358 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
359 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
360 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
361 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
362 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
363 * THE POSSIBILITY OF SUCH DAMAGE.
364 */
365
366// DO NOT EDIT THIS FILE. It is automatically generated from version.json
367// by the script: Source/JavaScriptCore/inspector/scripts/generate-inspector-protocol-bindings.py
368
369#include "config.h"
370#include "TestProtocolObjects.h"
371
372#include <wtf/Optional.h>
373#include <wtf/text/CString.h>
374
375namespace Inspector {
376
377namespace Protocol {
378
379
380
381} // namespace Protocol
382
383} // namespace Inspector
384
385### End File: TestProtocolObjects.cpp
386
387### Begin File: TestProtocolBackendDispatchers.h
388/*
389 * Copyright (C) 2013 Google Inc. All rights reserved.
390 * Copyright (C) 2013-2016 Apple Inc. All rights reserved.
391 * Copyright (C) 2014 University of Washington. All rights reserved.
392 *
393 * Redistribution and use in source and binary forms, with or without
394 * modification, are permitted provided that the following conditions
395 * are met:
396 * 1. Redistributions of source code must retain the above copyright
397 * notice, this list of conditions and the following disclaimer.
398 * 2. Redistributions in binary form must reproduce the above copyright
399 * notice, this list of conditions and the following disclaimer in the
400 * documentation and/or other materials provided with the distribution.
401 *
402 * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
403 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
404 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
405 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
406 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
407 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
408 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
409 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
410 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
411 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
412 * THE POSSIBILITY OF SUCH DAMAGE.
413 */
414
415// DO NOT EDIT THIS FILE. It is automatically generated from version.json
416// by the script: Source/JavaScriptCore/inspector/scripts/generate-inspector-protocol-bindings.py
417
418#include <JavaScriptCore/InspectorAlternateBackendDispatchers.h>
419#include <wtf/RetainPtr.h>
420
421
422
423namespace Inspector {
424
425
426} // namespace Inspector
427
428### End File: TestProtocolBackendDispatchers.h
429
430### Begin File: TestProtocolBackendDispatchers.mm
431/*
432 * Copyright (C) 2013 Google Inc. All rights reserved.
433 * Copyright (C) 2013-2016 Apple Inc. All rights reserved.
434 * Copyright (C) 2014 University of Washington. All rights reserved.
435 *
436 * Redistribution and use in source and binary forms, with or without
437 * modification, are permitted provided that the following conditions
438 * are met:
439 * 1. Redistributions of source code must retain the above copyright
440 * notice, this list of conditions and the following disclaimer.
441 * 2. Redistributions in binary form must reproduce the above copyright
442 * notice, this list of conditions and the following disclaimer in the
443 * documentation and/or other materials provided with the distribution.
444 *
445 * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
446 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
447 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
448 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
449 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
450 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
451 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
452 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
453 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
454 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
455 * THE POSSIBILITY OF SUCH DAMAGE.
456 */
457
458// DO NOT EDIT THIS FILE. It is automatically generated from version.json
459// by the script: Source/JavaScriptCore/inspector/scripts/generate-inspector-protocol-bindings.py
460
461#import "config.h"
462#import "TestProtocolBackendDispatchers.h"
463
464#include "TestProtocolInternal.h"
465#include "TestProtocolTypeConversions.h"
466#include <wtf/JSONValues.h>
467
468namespace Inspector {
469
470} // namespace Inspector
471
472### End File: TestProtocolBackendDispatchers.mm
473
474### Begin File: TestProtocolConfiguration.h
475/*
476 * Copyright (C) 2013 Google Inc. All rights reserved.
477 * Copyright (C) 2013-2016 Apple Inc. All rights reserved.
478 * Copyright (C) 2014 University of Washington. All rights reserved.
479 *
480 * Redistribution and use in source and binary forms, with or without
481 * modification, are permitted provided that the following conditions
482 * are met:
483 * 1. Redistributions of source code must retain the above copyright
484 * notice, this list of conditions and the following disclaimer.
485 * 2. Redistributions in binary form must reproduce the above copyright
486 * notice, this list of conditions and the following disclaimer in the
487 * documentation and/or other materials provided with the distribution.
488 *
489 * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
490 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
491 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
492 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
493 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
494 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
495 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
496 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
497 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
498 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
499 * THE POSSIBILITY OF SUCH DAMAGE.
500 */
501
502// DO NOT EDIT THIS FILE. It is automatically generated from version.json
503// by the script: Source/JavaScriptCore/inspector/scripts/generate-inspector-protocol-bindings.py
504
505#import <WebInspector/TestProtocol.h>
506
507__attribute__((visibility ("default")))
508@interface TestProtocolConfiguration : NSObject
509@end
510
511
512### End File: TestProtocolConfiguration.h
513
514### Begin File: TestProtocolConfiguration.mm
515/*
516 * Copyright (C) 2013 Google Inc. All rights reserved.
517 * Copyright (C) 2013-2016 Apple Inc. All rights reserved.
518 * Copyright (C) 2014 University of Washington. All rights reserved.
519 *
520 * Redistribution and use in source and binary forms, with or without
521 * modification, are permitted provided that the following conditions
522 * are met:
523 * 1. Redistributions of source code must retain the above copyright
524 * notice, this list of conditions and the following disclaimer.
525 * 2. Redistributions in binary form must reproduce the above copyright
526 * notice, this list of conditions and the following disclaimer in the
527 * documentation and/or other materials provided with the distribution.
528 *
529 * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
530 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
531 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
532 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
533 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
534 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
535 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
536 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
537 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
538 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
539 * THE POSSIBILITY OF SUCH DAMAGE.
540 */
541
542// DO NOT EDIT THIS FILE. It is automatically generated from version.json
543// by the script: Source/JavaScriptCore/inspector/scripts/generate-inspector-protocol-bindings.py
544
545#import "TestProtocolConfiguration.h"
546
547#import "TestProtocolInternal.h"
548#import "TestProtocolBackendDispatchers.h"
549#import <JavaScriptCore/AlternateDispatchableAgent.h>
550#import <JavaScriptCore/AugmentableInspectorController.h>
551#import <JavaScriptCore/InspectorAlternateBackendDispatchers.h>
552#import <JavaScriptCore/InspectorBackendDispatchers.h>
553
554using namespace Inspector;
555
556@implementation TestProtocolConfiguration
557{
558 AugmentableInspectorController* _controller;
559}
560
561- (instancetype)initWithController:(AugmentableInspectorController*)controller
562{
563 self = [super init];
564 if (!self)
565 return nil;
566 ASSERT(controller);
567 _controller = controller;
568 return self;
569}
570
571- (void)dealloc
572{
573 [super dealloc];
574}
575
576@end
577
578
579### End File: TestProtocolConfiguration.mm
580
581### Begin File: TestProtocolEventDispatchers.mm
582/*
583 * Copyright (C) 2013 Google Inc. All rights reserved.
584 * Copyright (C) 2013-2016 Apple Inc. All rights reserved.
585 * Copyright (C) 2014 University of Washington. All rights reserved.
586 *
587 * Redistribution and use in source and binary forms, with or without
588 * modification, are permitted provided that the following conditions
589 * are met:
590 * 1. Redistributions of source code must retain the above copyright
591 * notice, this list of conditions and the following disclaimer.
592 * 2. Redistributions in binary form must reproduce the above copyright
593 * notice, this list of conditions and the following disclaimer in the
594 * documentation and/or other materials provided with the distribution.
595 *
596 * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
597 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
598 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
599 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
600 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
601 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
602 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
603 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
604 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
605 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
606 * THE POSSIBILITY OF SUCH DAMAGE.
607 */
608
609// DO NOT EDIT THIS FILE. It is automatically generated from version.json
610// by the script: Source/JavaScriptCore/inspector/scripts/generate-inspector-protocol-bindings.py
611
612#import "TestProtocolInternal.h"
613
614#import "TestProtocolTypeConversions.h"
615#import <wtf/JSONValues.h>
616
617using namespace Inspector;
618
619
620### End File: TestProtocolEventDispatchers.mm
621
622### Begin File: TestProtocol.h
623/*
624 * Copyright (C) 2013 Google Inc. All rights reserved.
625 * Copyright (C) 2013-2016 Apple Inc. All rights reserved.
626 * Copyright (C) 2014 University of Washington. All rights reserved.
627 *
628 * Redistribution and use in source and binary forms, with or without
629 * modification, are permitted provided that the following conditions
630 * are met:
631 * 1. Redistributions of source code must retain the above copyright
632 * notice, this list of conditions and the following disclaimer.
633 * 2. Redistributions in binary form must reproduce the above copyright
634 * notice, this list of conditions and the following disclaimer in the
635 * documentation and/or other materials provided with the distribution.
636 *
637 * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
638 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
639 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
640 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
641 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
642 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
643 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
644 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
645 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
646 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
647 * THE POSSIBILITY OF SUCH DAMAGE.
648 */
649
650// DO NOT EDIT THIS FILE. It is automatically generated from version.json
651// by the script: Source/JavaScriptCore/inspector/scripts/generate-inspector-protocol-bindings.py
652
653#import <Foundation/Foundation.h>
654
655#import <WebInspector/RWIProtocolJSONObject.h>
656
657
658
659
660typedef NS_ENUM(NSInteger, TestProtocolPlatform) {
661 TestProtocolPlatformAll,
662 TestProtocolPlatformGeneric,
663 TestProtocolPlatformIOS,
664 TestProtocolPlatformMacOS,
665};
666
667
668
669
670
671
672
673
674
675
676### End File: TestProtocol.h
677
678### Begin File: TestProtocolInternal.h
679/*
680 * Copyright (C) 2013 Google Inc. All rights reserved.
681 * Copyright (C) 2013-2016 Apple Inc. All rights reserved.
682 * Copyright (C) 2014 University of Washington. All rights reserved.
683 *
684 * Redistribution and use in source and binary forms, with or without
685 * modification, are permitted provided that the following conditions
686 * are met:
687 * 1. Redistributions of source code must retain the above copyright
688 * notice, this list of conditions and the following disclaimer.
689 * 2. Redistributions in binary form must reproduce the above copyright
690 * notice, this list of conditions and the following disclaimer in the
691 * documentation and/or other materials provided with the distribution.
692 *
693 * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
694 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
695 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
696 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
697 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
698 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
699 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
700 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
701 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
702 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
703 * THE POSSIBILITY OF SUCH DAMAGE.
704 */
705
706// DO NOT EDIT THIS FILE. It is automatically generated from version.json
707// by the script: Source/JavaScriptCore/inspector/scripts/generate-inspector-protocol-bindings.py
708
709#import "TestProtocol.h"
710#import "TestProtocolJSONObjectPrivate.h"
711#import <JavaScriptCore/AugmentableInspectorController.h>
712#import <wtf/JSONValues.h>
713
714
715
716
717### End File: TestProtocolInternal.h
718
719### Begin File: TestProtocolTypeConversions.h
720/*
721 * Copyright (C) 2013 Google Inc. All rights reserved.
722 * Copyright (C) 2013-2016 Apple Inc. All rights reserved.
723 * Copyright (C) 2014 University of Washington. All rights reserved.
724 *
725 * Redistribution and use in source and binary forms, with or without
726 * modification, are permitted provided that the following conditions
727 * are met:
728 * 1. Redistributions of source code must retain the above copyright
729 * notice, this list of conditions and the following disclaimer.
730 * 2. Redistributions in binary form must reproduce the above copyright
731 * notice, this list of conditions and the following disclaimer in the
732 * documentation and/or other materials provided with the distribution.
733 *
734 * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
735 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
736 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
737 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
738 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
739 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
740 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
741 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
742 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
743 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
744 * THE POSSIBILITY OF SUCH DAMAGE.
745 */
746
747// DO NOT EDIT THIS FILE. It is automatically generated from version.json
748// by the script: Source/JavaScriptCore/inspector/scripts/generate-inspector-protocol-bindings.py
749
750#import "TestProtocol.h"
751#import <WebInspector/RWIProtocolArrayConversions.h>
752
753namespace Inspector {
754
755template<typename ObjCEnumType>
756Optional<ObjCEnumType> fromProtocolString(const String& value);
757
758inline String toProtocolString(TestProtocolPlatform value)
759{
760 switch(value) {
761 case TestProtocolPlatformAll:
762 return "all"_s;
763 case TestProtocolPlatformGeneric:
764 return "generic"_s;
765 case TestProtocolPlatformIOS:
766 return "ios"_s;
767 case TestProtocolPlatformMacOS:
768 return "macos"_s;
769 }
770}
771
772template<>
773inline Optional<TestProtocolPlatform> fromProtocolString(const String& value)
774{
775 if (value == "all")
776 return TestProtocolPlatformAll;
777 if (value == "generic")
778 return TestProtocolPlatformGeneric;
779 if (value == "ios")
780 return TestProtocolPlatformIOS;
781 if (value == "macos")
782 return TestProtocolPlatformMacOS;
783 return WTF::nullopt;
784}
785
786} // namespace Inspector
787
788### End File: TestProtocolTypeConversions.h
789
790### Begin File: TestProtocolTypeConversions.mm
791/*
792 * Copyright (C) 2013 Google Inc. All rights reserved.
793 * Copyright (C) 2013-2016 Apple Inc. All rights reserved.
794 * Copyright (C) 2014 University of Washington. All rights reserved.
795 *
796 * Redistribution and use in source and binary forms, with or without
797 * modification, are permitted provided that the following conditions
798 * are met:
799 * 1. Redistributions of source code must retain the above copyright
800 * notice, this list of conditions and the following disclaimer.
801 * 2. Redistributions in binary form must reproduce the above copyright
802 * notice, this list of conditions and the following disclaimer in the
803 * documentation and/or other materials provided with the distribution.
804 *
805 * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
806 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
807 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
808 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
809 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
810 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
811 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
812 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
813 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
814 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
815 * THE POSSIBILITY OF SUCH DAMAGE.
816 */
817
818// DO NOT EDIT THIS FILE. It is automatically generated from version.json
819// by the script: Source/JavaScriptCore/inspector/scripts/generate-inspector-protocol-bindings.py
820
821#import "TestProtocolTypeConversions.h"
822
823#import "TestProtocol.h"
824#import "TestProtocolTypeParser.h"
825#import <WebInspector/RWIProtocolJSONObjectPrivate.h>
826
827using namespace Inspector;
828
829
830
831
832
833
834### End File: TestProtocolTypeConversions.mm
835
836### Begin File: TestProtocolTypes.mm
837/*
838 * Copyright (C) 2013 Google Inc. All rights reserved.
839 * Copyright (C) 2013-2016 Apple Inc. All rights reserved.
840 * Copyright (C) 2014 University of Washington. All rights reserved.
841 *
842 * Redistribution and use in source and binary forms, with or without
843 * modification, are permitted provided that the following conditions
844 * are met:
845 * 1. Redistributions of source code must retain the above copyright
846 * notice, this list of conditions and the following disclaimer.
847 * 2. Redistributions in binary form must reproduce the above copyright
848 * notice, this list of conditions and the following disclaimer in the
849 * documentation and/or other materials provided with the distribution.
850 *
851 * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
852 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
853 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
854 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
855 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
856 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
857 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
858 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
859 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
860 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
861 * THE POSSIBILITY OF SUCH DAMAGE.
862 */
863
864// DO NOT EDIT THIS FILE. It is automatically generated from version.json
865// by the script: Source/JavaScriptCore/inspector/scripts/generate-inspector-protocol-bindings.py
866
867#import "TestProtocolInternal.h"
868
869#import "TestProtocolTypeConversions.h"
870#import <WebInspector/RWIProtocolJSONObjectPrivate.h>
871#import <wtf/Assertions.h>
872#import <wtf/JSONValues.h>
873
874using namespace Inspector;
875
876
877### End File: TestProtocolTypes.mm