Skip to content
Snippets Groups Projects
Unverified Commit 70bbe1c6 authored by Kevin Prudente's avatar Kevin Prudente Committed by GitHub
Browse files

Revert "Revert "new protocol (chrome 62)""

parent b2c2cb82
No related branches found
No related tags found
No related merge requests found
Showing
with 57 additions and 2 deletions
using MasterDevs.ChromeDevTools; using MasterDevs.ChromeDevTools;
using Newtonsoft.Json; using Newtonsoft.Json;
using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Animation namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Animation
......
using MasterDevs.ChromeDevTools; using MasterDevs.ChromeDevTools;
using Newtonsoft.Json; using Newtonsoft.Json;
using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Animation namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Animation
......
using MasterDevs.ChromeDevTools; using MasterDevs.ChromeDevTools;
using Newtonsoft.Json; using Newtonsoft.Json;
using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Animation namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Animation
......
using MasterDevs.ChromeDevTools; using MasterDevs.ChromeDevTools;
using Newtonsoft.Json; using Newtonsoft.Json;
using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Animation namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Animation
......
using MasterDevs.ChromeDevTools; using MasterDevs.ChromeDevTools;
using Newtonsoft.Json; using Newtonsoft.Json;
using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Animation namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Animation
......
using MasterDevs.ChromeDevTools; using MasterDevs.ChromeDevTools;
using Newtonsoft.Json; using Newtonsoft.Json;
using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Animation namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Animation
......
using MasterDevs.ChromeDevTools; using MasterDevs.ChromeDevTools;
using Newtonsoft.Json; using Newtonsoft.Json;
using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Animation namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Animation
......
using MasterDevs.ChromeDevTools; using MasterDevs.ChromeDevTools;
using Newtonsoft.Json; using Newtonsoft.Json;
using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Animation namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Animation
......
using MasterDevs.ChromeDevTools; using MasterDevs.ChromeDevTools;
using Newtonsoft.Json; using Newtonsoft.Json;
using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Animation namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Animation
......
using MasterDevs.ChromeDevTools;using Newtonsoft.Json; using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.ApplicationCache namespace MasterDevs.ChromeDevTools.Protocol.Chrome.ApplicationCache
{ {
......
using MasterDevs.ChromeDevTools; using MasterDevs.ChromeDevTools;
using Newtonsoft.Json; using Newtonsoft.Json;
using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.ApplicationCache namespace MasterDevs.ChromeDevTools.Protocol.Chrome.ApplicationCache
......
using MasterDevs.ChromeDevTools; using MasterDevs.ChromeDevTools;
using Newtonsoft.Json; using Newtonsoft.Json;
using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.ApplicationCache namespace MasterDevs.ChromeDevTools.Protocol.Chrome.ApplicationCache
......
using MasterDevs.ChromeDevTools; using MasterDevs.ChromeDevTools;
using Newtonsoft.Json; using Newtonsoft.Json;
using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.ApplicationCache namespace MasterDevs.ChromeDevTools.Protocol.Chrome.ApplicationCache
......
using MasterDevs.ChromeDevTools; using MasterDevs.ChromeDevTools;
using Newtonsoft.Json; using Newtonsoft.Json;
using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.ApplicationCache namespace MasterDevs.ChromeDevTools.Protocol.Chrome.ApplicationCache
......
using MasterDevs.ChromeDevTools; using MasterDevs.ChromeDevTools;
using Newtonsoft.Json; using Newtonsoft.Json;
using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.ApplicationCache namespace MasterDevs.ChromeDevTools.Protocol.Chrome.ApplicationCache
......
using MasterDevs.ChromeDevTools; using MasterDevs.ChromeDevTools;
using Newtonsoft.Json; using Newtonsoft.Json;
using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.ApplicationCache namespace MasterDevs.ChromeDevTools.Protocol.Chrome.ApplicationCache
......
using MasterDevs.ChromeDevTools; using MasterDevs.ChromeDevTools;
using Newtonsoft.Json; using Newtonsoft.Json;
using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.ApplicationCache namespace MasterDevs.ChromeDevTools.Protocol.Chrome.ApplicationCache
......
using MasterDevs.ChromeDevTools; using MasterDevs.ChromeDevTools;
using Newtonsoft.Json; using Newtonsoft.Json;
using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.ApplicationCache namespace MasterDevs.ChromeDevTools.Protocol.Chrome.ApplicationCache
......
using MasterDevs.ChromeDevTools;using Newtonsoft.Json; using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.ApplicationCache namespace MasterDevs.ChromeDevTools.Protocol.Chrome.ApplicationCache
{ {
......
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Audits
{
/// <summary>
/// Returns the response body and size if it were re-encoded with the specified settings. Only applies to images.
/// </summary>
[Command(ProtocolName.Audits.GetEncodedResponse)]
[SupportedBy("Chrome")]
public class GetEncodedResponseCommand: ICommand<GetEncodedResponseCommandResponse>
{
/// <summary>
/// Gets or sets Identifier of the network request to get content for.
/// </summary>
public string RequestId { get; set; }
/// <summary>
/// Gets or sets The encoding to use.
/// </summary>
public string Encoding { get; set; }
/// <summary>
/// Gets or sets The quality of the encoding (0-1). (defaults to 1)
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public double Quality { get; set; }
/// <summary>
/// Gets or sets Whether to only return the size information (defaults to false).
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public bool? SizeOnly { get; set; }
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment