| Index: chrome/browser/devtools/devtools_targets_ui.h
|
| diff --git a/chrome/browser/devtools/devtools_targets_ui.h b/chrome/browser/devtools/devtools_targets_ui.h
|
| index 43778a321d6793123b83a1665327a35b8b93be43..cbc45561a65ea3265bbf9feb9ecb5db968ae3145 100644
|
| --- a/chrome/browser/devtools/devtools_targets_ui.h
|
| +++ b/chrome/browser/devtools/devtools_targets_ui.h
|
| @@ -18,7 +18,6 @@ class ListValue;
|
| class DictionaryValue;
|
| }
|
|
|
| -class DevToolsTargetImpl;
|
| class Profile;
|
|
|
| class DevToolsTargetsUIHandler {
|
| @@ -39,7 +38,8 @@ class DevToolsTargetsUIHandler {
|
| const Callback& callback,
|
| Profile* profile);
|
|
|
| - DevToolsTargetImpl* GetTarget(const std::string& target_id);
|
| + scoped_refptr<content::DevToolsAgentHost> GetTarget(
|
| + const std::string& target_id);
|
|
|
| virtual void Open(const std::string& browser_id, const std::string& url);
|
|
|
| @@ -49,10 +49,12 @@ class DevToolsTargetsUIHandler {
|
| virtual void ForceUpdate();
|
|
|
| protected:
|
| - base::DictionaryValue* Serialize(const DevToolsTargetImpl& target);
|
| + base::DictionaryValue* Serialize(
|
| + scoped_refptr<content::DevToolsAgentHost> host);
|
| void SendSerializedTargets(const base::ListValue& list);
|
|
|
| - typedef std::map<std::string, DevToolsTargetImpl*> TargetMap;
|
| + using TargetMap =
|
| + std::map<std::string, scoped_refptr<content::DevToolsAgentHost>>;
|
| TargetMap targets_;
|
|
|
| private:
|
|
|