Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1510)

Unified Diff: chrome/test/data/extensions/api_test/gcd_private/api/wifi_message.js

Issue 468613003: API change to allow sticker authentication for devices (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/data/extensions/api_test/gcd_private/api/session.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/api_test/gcd_private/api/wifi_message.js
diff --git a/chrome/test/data/extensions/api_test/gcd_private/api/wifi_message.js b/chrome/test/data/extensions/api_test/gcd_private/api/wifi_message.js
index bdec7dc498e39b8d9d424fee8bd3859c0c0ddbdf..e89d342c6b76cab91e0a74ea2f6e3fa9cbcf30db 100644
--- a/chrome/test/data/extensions/api_test/gcd_private/api/wifi_message.js
+++ b/chrome/test/data/extensions/api_test/gcd_private/api/wifi_message.js
@@ -6,10 +6,11 @@ onload = function() {
chrome.test.runTests([
function wifiMessage() {
var messages_needed = 3;
- function onConfirmCode(sessionId, status, code, method) {
+ function onConfirmCode(sessionId, status, confirmation) {
chrome.test.assertEq("success", status);
- chrome.test.assertEq("01234", code);
+ chrome.test.assertEq("01234", confirmation.code);
chrome.gcdPrivate.confirmCode(sessionId,
+ confirmation.code,
onSessionEstablished.bind(null,
sessionId));
}
« no previous file with comments | « chrome/test/data/extensions/api_test/gcd_private/api/session.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698