| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_DEVTOOLS_DEVTOOLS_AGENT_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_AGENT_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_AGENT_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_AGENT_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "content/browser/devtools/devtools_io_context.h" | 13 #include "content/browser/devtools/devtools_io_context.h" |
| 14 #include "content/browser/devtools/protocol/devtools_protocol_delegate.h" | 14 #include "content/browser/devtools/protocol/devtools_protocol_delegate.h" |
| 15 #include "content/common/content_export.h" | 15 #include "content/common/content_export.h" |
| 16 #include "content/common/devtools_messages.h" | 16 #include "content/common/devtools_messages.h" |
| 17 #include "content/public/browser/devtools_agent_host.h" | 17 #include "content/public/browser/devtools_agent_host.h" |
| 18 | 18 |
| 19 namespace IPC { | |
| 20 class Message; | |
| 21 } | |
| 22 | |
| 23 namespace content { | 19 namespace content { |
| 24 | 20 |
| 25 class BrowserContext; | 21 class BrowserContext; |
| 26 class DevToolsSession; | 22 class DevToolsSession; |
| 27 | 23 |
| 28 // Describes interface for managing devtools agents from the browser process. | 24 // Describes interface for managing devtools agents from the browser process. |
| 29 class CONTENT_EXPORT DevToolsAgentHostImpl : public DevToolsAgentHost, | 25 class CONTENT_EXPORT DevToolsAgentHostImpl : public DevToolsAgentHost, |
| 30 public DevToolsProtocolDelegate { | 26 public DevToolsProtocolDelegate { |
| 31 public: | 27 public: |
| 32 // Informs the hosted agent that a client host has attached. | 28 // Informs the hosted agent that a client host has attached. |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 SendMessageCallback callback_; | 106 SendMessageCallback callback_; |
| 111 std::string message_buffer_; | 107 std::string message_buffer_; |
| 112 uint32_t message_buffer_size_; | 108 uint32_t message_buffer_size_; |
| 113 std::string state_cookie_; | 109 std::string state_cookie_; |
| 114 int last_call_id_; | 110 int last_call_id_; |
| 115 }; | 111 }; |
| 116 | 112 |
| 117 } // namespace content | 113 } // namespace content |
| 118 | 114 |
| 119 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_AGENT_HOST_IMPL_H_ | 115 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_AGENT_HOST_IMPL_H_ |
| OLD | NEW |