OLD | NEW |
1 #!mojo:js_content_handler | 1 #!mojo mojo:js_content_handler |
2 | 2 |
3 define("main", [ | 3 define("main", [ |
4 "mojo/services/public/js/application", | 4 "mojo/services/public/js/application", |
5 "mojo/public/js/core", | 5 "mojo/public/js/core", |
6 "mojo/services/network/public/interfaces/network_service.mojom", | 6 "mojo/services/network/public/interfaces/network_service.mojom", |
7 "mojo/services/network/public/interfaces/url_loader.mojom", | 7 "mojo/services/network/public/interfaces/url_loader.mojom", |
8 "services/js/test/network_test_service.mojom", | 8 "services/js/test/network_test_service.mojom", |
9 ], function(application, | 9 ], function(application, |
10 core, | 10 core, |
11 networkServiceMojom, | 11 networkServiceMojom, |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 class NetworkTest extends Application { | 54 class NetworkTest extends Application { |
55 acceptConnection(url, serviceProvider) { | 55 acceptConnection(url, serviceProvider) { |
56 serviceProvider.provideService( | 56 serviceProvider.provideService( |
57 NetworkTestService, | 57 NetworkTestService, |
58 NetworkTestServiceImpl.bind(null, this)); | 58 NetworkTestServiceImpl.bind(null, this)); |
59 } | 59 } |
60 } | 60 } |
61 | 61 |
62 return NetworkTest; | 62 return NetworkTest; |
63 }); | 63 }); |
OLD | NEW |