| Index: chrome/test/data/extensions/api_test/media_remoting/start_remoting.js
|
| diff --git a/chrome/test/data/extensions/api_test/media_remoting/start_remoting.js b/chrome/test/data/extensions/api_test/media_remoting/start_remoting.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f2ccbdb06ca5a9b4675d5024d52bb522bf33614e
|
| --- /dev/null
|
| +++ b/chrome/test/data/extensions/api_test/media_remoting/start_remoting.js
|
| @@ -0,0 +1,22 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +'use strict';
|
| +
|
| +chrome.test.runTests([
|
| + function startRemoting() {
|
| + mrTest.StartMediaRouter()
|
| + .then(result => {
|
| + const mediaRouterService = result['mrService'];
|
| + mediaRouterService.setHandlers(
|
| + new mrTest.ProviderManager(mediaRouterService,
|
| + new mrTest.Parameters()));
|
| + });
|
| + chrome.test.notifyPass();
|
| + }
|
| +]);
|
| +
|
| +
|
| +
|
| +
|
|
|