Re-enable index-basics-workers test to see if still times
[chromium-blink-merge.git] / content / public / browser / devtools_external_agent_proxy_delegate.h
blobd68854f23ce49d08f69a82cc1930c204ccb25907
1 // Copyright (c) 2013 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_EXTERNAL_AGENT_PROXY_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_DEVTOOLS_EXTERNAL_AGENT_PROXY_DELEGATE_H_
8 #include <string>
10 #include "content/common/content_export.h"
12 namespace content {
14 // Describes the interface for sending messages to an external DevTools agent.
15 class DevToolsExternalAgentProxyDelegate {
16 public:
17 // Informs the agent that a client host has attached.
18 virtual void Attach() = 0;
20 // Informs the agent that a client host has detached.
21 virtual void Detach() = 0;
23 // Sends a message to the agent.
24 virtual void SendMessageToBackend(const std::string& message) = 0;
26 protected:
27 virtual ~DevToolsExternalAgentProxyDelegate() {}
30 } // namespace content
32 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_EXTERNAL_AGENT_PROXY_DELEGATE_H_