Update broken references to image assets
[chromium-blink-merge.git] / content / public / browser / devtools_agent_host_client.h
blob90d7a73595266bf313c7ff10dad41b17a1180bd8
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_CLIENT_H_
6 #define CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_CLIENT_H_
8 #include <string>
10 #include "base/basictypes.h"
11 #include "content/common/content_export.h"
13 namespace content {
15 class DevToolsAgentHost;
17 // DevToolsAgentHostClient can attach to a DevToolsAgentHost and start
18 // debugging it.
19 class CONTENT_EXPORT DevToolsAgentHostClient {
20 public:
21 virtual ~DevToolsAgentHostClient() {}
23 // Dispatches given protocol message on the client.
24 virtual void DispatchProtocolMessage(DevToolsAgentHost* agent_host,
25 const std::string& message) = 0;
27 // This method is called when attached agent host is closed.
28 virtual void AgentHostClosed(DevToolsAgentHost* agent_host,
29 bool replaced_with_another_client) = 0;
32 } // namespace content
34 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_CLIENT_H_