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

Unified Diff: chrome/test/data/extensions/api_test/gcd_private/api/session.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
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
index 43f03153bfa226a7ab0d31e2fc0caab52f898d31..ba65b5336aba2a8933514560fb2717e9dfa34e3d 100644
--- a/chrome/test/data/extensions/api_test/gcd_private/api/session.js
+++ b/chrome/test/data/extensions/api_test/gcd_private/api/session.js
@@ -5,10 +5,13 @@
onload = function() {
chrome.test.runTests([
function session() {
- function onConfirmCode(sessionId, status, code, method) {
+ function onConfirmCode(sessionId, status, confirmationInfo) {
chrome.test.assertEq("success", status);
- chrome.test.assertEq("01234", code);
+ chrome.test.assertEq("01234", confirmationInfo.code);
+ chrome.test.assertEq("displayCode", confirmationInfo.type);
+
chrome.gcdPrivate.confirmCode(sessionId,
+ "01234",
onSessionEstablished.bind(null,
sessionId));
}
« no previous file with comments | « chrome/common/extensions/api/gcd_private.idl ('k') | chrome/test/data/extensions/api_test/gcd_private/api/wifi_message.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698