| Index: content/browser/devtools/devtools_agent_host_impl.cc
|
| diff --git a/content/browser/devtools/devtools_agent_host_impl.cc b/content/browser/devtools/devtools_agent_host_impl.cc
|
| index 0474103a4232e1c39c790fda2d4acd26b2442466..cb2b31e364952c577b272b1fef0daa11d1463965 100644
|
| --- a/content/browser/devtools/devtools_agent_host_impl.cc
|
| +++ b/content/browser/devtools/devtools_agent_host_impl.cc
|
| @@ -5,6 +5,7 @@
|
| #include "content/browser/devtools/devtools_agent_host_impl.h"
|
|
|
| #include "base/basictypes.h"
|
| +#include "base/stringprintf.h"
|
| #include "content/common/devtools_messages.h"
|
|
|
| namespace content {
|
| @@ -15,7 +16,7 @@ static int g_next_agent_host_id = 0;
|
|
|
| DevToolsAgentHostImpl::DevToolsAgentHostImpl()
|
| : close_listener_(NULL),
|
| - id_(++g_next_agent_host_id) {
|
| + id_(base::StringPrintf("%d", ++g_next_agent_host_id)) {
|
| }
|
|
|
| void DevToolsAgentHostImpl::Attach() {
|
| @@ -54,6 +55,10 @@ void DevToolsAgentHostImpl::AddMessageToConsole(ConsoleMessageLevel level,
|
| message));
|
| }
|
|
|
| +std::string DevToolsAgentHostImpl::GetId() {
|
| + return id_;
|
| +}
|
| +
|
| RenderViewHost* DevToolsAgentHostImpl::GetRenderViewHost() {
|
| return NULL;
|
| }
|
|
|