Index: chrome/browser/devtools/devtools_target_impl.h |
diff --git a/chrome/browser/devtools/devtools_target_impl.h b/chrome/browser/devtools/devtools_target_impl.h |
index 484278844b64d8e3fdf85a6af6cce61b88d3f7c7..66a058a73b5f1156614edb4249004b4ec672cca9 100644 |
--- a/chrome/browser/devtools/devtools_target_impl.h |
+++ b/chrome/browser/devtools/devtools_target_impl.h |
@@ -25,6 +25,7 @@ class DevToolsTargetImpl : public content::DevToolsTarget { |
// content::DevToolsTarget overrides: |
virtual std::string GetId() const OVERRIDE; |
+ virtual std::string GetParentId() const OVERRIDE; |
virtual std::string GetType() const OVERRIDE; |
virtual std::string GetTitle() const OVERRIDE; |
virtual std::string GetDescription() const OVERRIDE; |
@@ -58,6 +59,7 @@ class DevToolsTargetImpl : public content::DevToolsTarget { |
static scoped_ptr<DevToolsTargetImpl> CreateForRenderViewHost( |
content::RenderViewHost*, bool is_tab); |
+ void set_parent_id(const std::string& parent_id) { parent_id_ = parent_id; } |
void set_type(const std::string& type) { type_ = type; } |
void set_title(const std::string& title) { title_ = title; } |
void set_description(const std::string& desc) { description_ = desc; } |
@@ -76,7 +78,7 @@ class DevToolsTargetImpl : public content::DevToolsTarget { |
private: |
scoped_refptr<content::DevToolsAgentHost> agent_host_; |
- std::string id_; |
+ std::string parent_id_; |
std::string type_; |
std::string title_; |
std::string description_; |