| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 | 5 |
| 6 /** | 6 /** |
| 7 * This URL is defined in content/public/test/test_mojo_app.cc. It identifies | 7 * This URL is defined in content/public/test/test_mojo_app.cc. It identifies |
| 8 * content_shell's out-of-process Mojo test app. | 8 * content_shell's out-of-process Mojo test app. |
| 9 */ | 9 */ |
| 10 var TEST_APP_URL = 'system:content_mojo_test'; | 10 var TEST_APP_URL = 'system:content_mojo_test'; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 identity.instance = ""; | 40 identity.instance = ""; |
| 41 connector.connect( | 41 connector.connect( |
| 42 identity, | 42 identity, |
| 43 function (services) { | 43 function (services) { |
| 44 var test = connectToService(services, testMojom.TestMojoService); | 44 var test = connectToService(services, testMojom.TestMojoService); |
| 45 test.getRequestorName().then(function(response) { | 45 test.getRequestorName().then(function(response) { |
| 46 domAutomationController.send( | 46 domAutomationController.send( |
| 47 response.name == 'chrome://mojo-web-ui/'); | 47 response.name == 'chrome://mojo-web-ui/'); |
| 48 }); | 48 }); |
| 49 }, | 49 }, |
| 50 function (exposedServices) {}); | 50 function (exposedServices) {}, |
| 51 null); |
| 51 }; | 52 }; |
| 52 }); | 53 }); |
| OLD | NEW |