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..381bd374af1e91758eefdc2fc2e3ec7cc7fb1179 100644 |
--- a/content/browser/devtools/devtools_agent_host_impl.cc |
+++ b/content/browser/devtools/devtools_agent_host_impl.cc |
@@ -5,7 +5,9 @@ |
#include "content/browser/devtools/devtools_agent_host_impl.h" |
#include "base/basictypes.h" |
+#include "base/stringprintf.h" |
#include "content/common/devtools_messages.h" |
+#include "content/public/browser/devtools_manager.h" |
namespace content { |
@@ -15,7 +17,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() { |
@@ -58,6 +60,18 @@ RenderViewHost* DevToolsAgentHostImpl::GetRenderViewHost() { |
return NULL; |
} |
+std::string DevToolsAgentHostImpl::GetTitle() { |
+ return ""; |
+} |
+ |
+GURL DevToolsAgentHostImpl::GetUrl() { |
+ return GURL(); |
+} |
+ |
+GURL DevToolsAgentHostImpl::GetFaviconUrl() { |
+ return GURL(); |
+} |
+ |
void DevToolsAgentHostImpl::NotifyCloseListener() { |
if (close_listener_) { |
scoped_refptr<DevToolsAgentHostImpl> protect(this); |