diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2012-12-26 08:05:32 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2012-12-26 08:05:32 -0800 |
commit | 3787e3dac06df104a8fbe4b2c2df02abadd63d74 (patch) | |
tree | a216be8fe66ba273c508a3b3f77e1e49a2557a50 /src/DotNetOpenAuth.Test/Mocks/CoordinatingHttpRequestInfo.cs | |
parent | 162f450a2cfb861ca5fcb36410625a7b3326494e (diff) | |
parent | 06fdacd94eb1a337b6822680336317357885ab48 (diff) | |
download | DotNetOpenAuth-3787e3dac06df104a8fbe4b2c2df02abadd63d74.zip DotNetOpenAuth-3787e3dac06df104a8fbe4b2c2df02abadd63d74.tar.gz DotNetOpenAuth-3787e3dac06df104a8fbe4b2c2df02abadd63d74.tar.bz2 |
Merge branch 'v4.2'
Diffstat (limited to 'src/DotNetOpenAuth.Test/Mocks/CoordinatingHttpRequestInfo.cs')
-rw-r--r-- | src/DotNetOpenAuth.Test/Mocks/CoordinatingHttpRequestInfo.cs | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/src/DotNetOpenAuth.Test/Mocks/CoordinatingHttpRequestInfo.cs b/src/DotNetOpenAuth.Test/Mocks/CoordinatingHttpRequestInfo.cs index a1f5cf5..d53d8c9 100644 --- a/src/DotNetOpenAuth.Test/Mocks/CoordinatingHttpRequestInfo.cs +++ b/src/DotNetOpenAuth.Test/Mocks/CoordinatingHttpRequestInfo.cs @@ -6,10 +6,12 @@ namespace DotNetOpenAuth.Test.Mocks { using System; -using System.Collections.Generic; -using System.Diagnostics.Contracts; -using System.Net; -using DotNetOpenAuth.Messaging; + using System.Collections.Generic; + using System.Diagnostics.Contracts; + using System.Net; + using System.Web; + + using DotNetOpenAuth.Messaging; internal class CoordinatingHttpRequestInfo : HttpRequestInfo { private readonly Channel channel; @@ -34,8 +36,9 @@ using DotNetOpenAuth.Messaging; Channel channel, IMessageFactory messageFactory, IDictionary<string, string> messageData, - MessageReceivingEndpoint recipient) - : this(recipient) { + MessageReceivingEndpoint recipient, + HttpCookieCollection cookies) + : this(recipient, cookies) { Contract.Requires(channel != null); Contract.Requires(messageFactory != null); Contract.Requires(messageData != null); @@ -49,8 +52,8 @@ using DotNetOpenAuth.Messaging; /// that will not generate any message. /// </summary> /// <param name="recipient">The recipient.</param> - internal CoordinatingHttpRequestInfo(MessageReceivingEndpoint recipient) - : base(GetHttpVerb(recipient), recipient != null ? recipient.Location : new Uri("http://host/path")) { + internal CoordinatingHttpRequestInfo(MessageReceivingEndpoint recipient, HttpCookieCollection cookies) + : base(GetHttpVerb(recipient), recipient != null ? recipient.Location : new Uri("http://host/path"), cookies: cookies) { this.recipient = recipient; } |