[DevTools] Stop passing base::Value to DevToolsManagerDelegate
https://chromium-review.googlesource.com/c/chromium/src/+/1459807
This commit is contained in:
parent
4450c26206
commit
6f14df039e
2 changed files with 3 additions and 3 deletions
|
@ -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>
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue