[DevTools] Stop passing base::Value to DevToolsManagerDelegate

https://chromium-review.googlesource.com/c/chromium/src/+/1459807
This commit is contained in:
deepak1556 2019-02-21 13:46:41 +05:30 committed by Samuel Attard
parent 4450c26206
commit 6f14df039e
2 changed files with 3 additions and 3 deletions

View file

@ -97,10 +97,10 @@ void DevToolsManagerDelegate::Inspect(content::DevToolsAgentHost* agent_host) {}
void DevToolsManagerDelegate::HandleCommand(
content::DevToolsAgentHost* agent_host,
content::DevToolsAgentHostClient* client,
std::unique_ptr<base::DictionaryValue> command,
const std::string& method,
const std::string& message,
NotHandledCallback callback) {
std::move(callback).Run(std::move(command), message);
std::move(callback).Run(message);
}
scoped_refptr<content::DevToolsAgentHost>

View file

@ -25,7 +25,7 @@ class DevToolsManagerDelegate : public content::DevToolsManagerDelegate {
void Inspect(content::DevToolsAgentHost* agent_host) override;
void HandleCommand(content::DevToolsAgentHost* agent_host,
content::DevToolsAgentHostClient* client,
std::unique_ptr<base::DictionaryValue> command,
const std::string& method,
const std::string& message,
NotHandledCallback callback) override;
scoped_refptr<content::DevToolsAgentHost> CreateNewTarget(