Commit e2c76c0d authored by James Hawkins's avatar James Hawkins Committed by Commit Bot

Smart Lock: Remove deprecated test files.

R=hansberry@chromium.org

Bug: 899324
Test: none
Change-Id: I300f9e21a19abdfff93b8a70a21cec6dac00db31
Reviewed-on: https://chromium-review.googlesource.com/c/1319338Reviewed-by: default avatarRyan Hansberry <hansberry@chromium.org>
Commit-Queue: James Hawkins <jhawkins@chromium.org>
Cr-Commit-Position: refs/heads/master@{#605747}
parent d86841e2
<!DOCTYPE html>
<html>
<script>
// Note this must be consistent with the one defined in fake_gaia.cc.
var AUTH_CODE = 'fake-auth-code';
function onMessage(e) {
var targetWindow = e.source;
targetWindow.postMessage({
'type': 'authorizationCode',
'authorizationCode': AUTH_CODE
}, e.origin);
}
window.addEventListener('message', onMessage);
</script>
<body>
</body>
</html>
// Copyright 2015 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.
chrome.easyUnlockPrivate.onStartAutoPairing.addListener(function() {
chrome.easyUnlockPrivate.setAutoPairingResult({
success: false,
errorMessage: 'Test failure'
});
});
// Copyright 2015 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.
chrome.easyUnlockPrivate.onStartAutoPairing.addListener(function() {
chrome.easyUnlockPrivate.setPermitAccess({
permitId: 'fake_permit_id',
id: 'fake_id',
type: 'access',
data: 'ZmFrZV9kYXRh' // 'fake_data'
});
chrome.easyUnlockPrivate.setRemoteDevices([
{
bluetoothAddress: '11:11:11:11:11:11',
name: 'fake_remote_device',
permitRecord: {
permitId: 'fake_permit_id',
id: 'fake_id',
type: 'license',
data: 'ZmFrZV9kYXRh' // 'fake_data'
},
psk: 'ZmFrZV9wc2s=' // 'fake_psk'
},
]);
chrome.easyUnlockPrivate.setAutoPairingResult({success: true});
});
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment