| Index: chrome/test/data/extensions/api_test/gcd_private/api/session.js
|
| diff --git a/chrome/test/data/extensions/api_test/gcd_private/api/session.js b/chrome/test/data/extensions/api_test/gcd_private/api/session.js
|
| deleted file mode 100644
|
| index dcbe90c8931fc524fdd6eae6be7c112e64735071..0000000000000000000000000000000000000000
|
| --- a/chrome/test/data/extensions/api_test/gcd_private/api/session.js
|
| +++ /dev/null
|
| @@ -1,36 +0,0 @@
|
| -// Copyright 2014 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.
|
| -
|
| -onload = function() {
|
| - chrome.test.runTests([
|
| - function session() {
|
| - function onSessionEstablished(sessionId, status, pairingTypes) {
|
| - chrome.test.assertEq("success", status);
|
| - chrome.test.assertEq(["embeddedCode"], pairingTypes);
|
| - chrome.gcdPrivate.startPairing(1234, "pinCode",
|
| - onPairingStarted.bind(null));
|
| - }
|
| -
|
| - function onPairingStarted(status) {
|
| - chrome.test.assertEq("unknownSessionError", status);
|
| - chrome.gcdPrivate.confirmCode(7567, "1234",
|
| - onCodeConfirmed.bind(null));
|
| - }
|
| -
|
| - function onCodeConfirmed(status) {
|
| - chrome.test.assertEq("unknownSessionError", status);
|
| - chrome.gcdPrivate.sendMessage(555, "/privet/ping", {},
|
| - onMessageSent);
|
| - }
|
| -
|
| - function onMessageSent(status, output) {
|
| - chrome.test.assertEq("unknownSessionError", status);
|
| - chrome.test.notifyPass();
|
| - }
|
| -
|
| - chrome.gcdPrivate.createSession("myService._privet._tcp.local",
|
| - onSessionEstablished);
|
| - }
|
| - ]);
|
| -};
|
|
|