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

Unified Diff: extensions/browser/api/cast_channel/cast_socket_unittest.cc

Issue 2709523008: [Cast Channel] Add support for nonce challenge to Cast channel authentication. (Closed)
Patch Set: Rebase-only Created 3 years, 9 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 | « extensions/browser/api/cast_channel/cast_socket.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/cast_channel/cast_socket_unittest.cc
diff --git a/extensions/browser/api/cast_channel/cast_socket_unittest.cc b/extensions/browser/api/cast_channel/cast_socket_unittest.cc
index 2f99de049e2e2157c6a0c8d0df5da5e399d34c5c..5a857b2cd9e8c582f4dc70fec795e63f6bf7ef4a 100644
--- a/extensions/browser/api/cast_channel/cast_socket_unittest.cc
+++ b/extensions/browser/api/cast_channel/cast_socket_unittest.cc
@@ -59,7 +59,7 @@ const char kAuthNamespace[] = "urn:x-cast:com.google.cast.tp.deviceauth";
// Returns an auth challenge message inline.
CastMessage CreateAuthChallenge() {
CastMessage output;
- CreateAuthChallengeMessage(&output);
+ CreateAuthChallengeMessage(&output, AuthContext::Create());
return output;
}
@@ -206,7 +206,8 @@ class TestCastSocket : public CastSocketImpl {
base::TimeDelta::FromMilliseconds(timeout_ms),
false,
logger,
- device_capabilities),
+ device_capabilities,
+ AuthContext::Create()),
capturing_net_log_(capturing_net_log),
ip_(ip_endpoint),
extract_cert_result_(true),
« no previous file with comments | « extensions/browser/api/cast_channel/cast_socket.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698