| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_BROWSER_DEBUGGER_DEVTOOLS_AGENT_HOST_H_ | 5 #ifndef CONTENT_BROWSER_DEBUGGER_DEVTOOLS_AGENT_HOST_H_ |
| 6 #define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_AGENT_HOST_H_ | 6 #define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_AGENT_HOST_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | |
| 10 #include <string> | 9 #include <string> |
| 11 | 10 |
| 12 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
| 13 | 12 |
| 14 namespace IPC { | 13 namespace IPC { |
| 15 class Message; | 14 class Message; |
| 16 } | 15 } |
| 17 | 16 |
| 18 typedef std::map<std::string, std::string> DevToolsRuntimeProperties; | |
| 19 | |
| 20 // Describes interface for managing devtools agents from the browser process. | 17 // Describes interface for managing devtools agents from the browser process. |
| 21 class CONTENT_EXPORT DevToolsAgentHost { | 18 class CONTENT_EXPORT DevToolsAgentHost { |
| 22 public: | 19 public: |
| 23 class CONTENT_EXPORT CloseListener { | 20 class CONTENT_EXPORT CloseListener { |
| 24 public: | 21 public: |
| 25 virtual void AgentHostClosing(DevToolsAgentHost*) = 0; | 22 virtual void AgentHostClosing(DevToolsAgentHost*) = 0; |
| 26 protected: | 23 protected: |
| 27 virtual ~CloseListener() {} | 24 virtual ~CloseListener() {} |
| 28 }; | 25 }; |
| 29 | 26 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 45 protected: | 42 protected: |
| 46 DevToolsAgentHost(); | 43 DevToolsAgentHost(); |
| 47 virtual ~DevToolsAgentHost() {} | 44 virtual ~DevToolsAgentHost() {} |
| 48 | 45 |
| 49 void NotifyCloseListener(); | 46 void NotifyCloseListener(); |
| 50 | 47 |
| 51 CloseListener* close_listener_; | 48 CloseListener* close_listener_; |
| 52 }; | 49 }; |
| 53 | 50 |
| 54 #endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_AGENT_HOST_H_ | 51 #endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_AGENT_HOST_H_ |
| OLD | NEW |