Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Side by Side Diff: content/public/browser/devtools_agent_host_client.h

Issue 449043002: [DevTools] Make DevTools clients talk directly to DevToolsAgentHost instead of using DevToolsManage… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed DetachAllClients Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 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.
4
5 #ifndef CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_CLIENT_H_
6 #define CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_CLIENT_H_
7
8 #include <string>
9
10 #include "base/basictypes.h"
11 #include "content/common/content_export.h"
12
13 namespace content {
14
15 class DevToolsAgentHost;
16
17 // DevToolsAgentHostClient can attach to a DevToolsAgentHost and start
18 // debugging it.
19 class CONTENT_EXPORT DevToolsAgentHostClient {
20 public:
21 virtual ~DevToolsAgentHostClient() {}
22
23 // Dispatches given protocol message on the client.
24 virtual void DispatchProtocolMessage(DevToolsAgentHost* agent_host,
25 const std::string& message) = 0;
26
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;
30 };
31
32 } // namespace content
33
34 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_CLIENT_H_
OLDNEW
« no previous file with comments | « content/public/browser/devtools_agent_host.h ('k') | content/public/browser/devtools_client_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698