Chromium Code Reviews| Index: content/browser/devtools/devtools_agent_host_impl.h |
| diff --git a/content/browser/devtools/devtools_agent_host_impl.h b/content/browser/devtools/devtools_agent_host_impl.h |
| index c3a52155f91294dd70f9fa3cab7d31f258eeff58..9e0aef53b6fbbfe409c938fc91272a441b351ffa 100644 |
| --- a/content/browser/devtools/devtools_agent_host_impl.h |
| +++ b/content/browser/devtools/devtools_agent_host_impl.h |
| @@ -41,9 +41,9 @@ class CONTENT_EXPORT DevToolsAgentHostImpl : public DevToolsAgentHost { |
| close_listener_ = listener; |
| } |
| - int id() { return id_; } |
| - |
| // DevToolsAgentHost implementation. |
| + virtual std::string GetId() OVERRIDE { return id_; } |
|
jam
2013/03/07 17:50:24
i think you'll get a clang error for this, the imp
|
| + |
| virtual RenderViewHost* GetRenderViewHost() OVERRIDE; |
| protected: |
| @@ -59,7 +59,7 @@ class CONTENT_EXPORT DevToolsAgentHostImpl : public DevToolsAgentHost { |
| CloseListener* close_listener_; |
| private: |
| - int id_; |
| + const std::string id_; |
| }; |
| } // namespace content |