| Index: content/public/browser/devtools_agent_host.h
|
| diff --git a/content/public/browser/devtools_agent_host.h b/content/public/browser/devtools_agent_host.h
|
| index c4246508fb1b594bf7548c906147f0d8f4cdc07f..be02843731f42b5bf5a97b8d6a81891e2b548fc6 100644
|
| --- a/content/public/browser/devtools_agent_host.h
|
| +++ b/content/public/browser/devtools_agent_host.h
|
| @@ -9,10 +9,8 @@
|
| #include <vector>
|
|
|
| #include "base/basictypes.h"
|
| -#include "base/callback.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "content/common/content_export.h"
|
| -#include "content/public/browser/devtools_agent_host_client.h"
|
|
|
| namespace content {
|
|
|
| @@ -51,17 +49,8 @@
|
| // Returns a list of all existing WebContents that can be debugged.
|
| static std::vector<WebContents*> GetInspectableWebContents();
|
|
|
| - // Client attaches to this agent host to start debugging it.
|
| - virtual void AttachClient(DevToolsAgentHostClient* client) = 0;
|
| -
|
| - // Already attached client detaches from this agent host to stop debugging it.
|
| - virtual void DetachClient() = 0;
|
| -
|
| // Returns true if there is a client attached.
|
| virtual bool IsAttached() = 0;
|
| -
|
| - // Sends a message to the agent.
|
| - virtual void DispatchProtocolMessage(const std::string& message) = 0;
|
|
|
| // Starts inspecting element at position (|x|, |y|) in the specified page.
|
| virtual void InspectElement(int x, int y) = 0;
|
| @@ -82,15 +71,6 @@
|
| // Returns true if DevToolsAgentHost is for worker.
|
| virtual bool IsWorker() const = 0;
|
|
|
| - // Terminates all debugging sessions and detaches all clients.
|
| - static void DetachAllClients();
|
| -
|
| - typedef base::Callback<void(DevToolsAgentHost*, bool attached)>
|
| - AgentStateCallback;
|
| -
|
| - static void AddAgentStateCallback(const AgentStateCallback& callback);
|
| - static void RemoveAgentStateCallback(const AgentStateCallback& callback);
|
| -
|
| protected:
|
| friend class base::RefCounted<DevToolsAgentHost>;
|
| virtual ~DevToolsAgentHost() {}
|
|
|