| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_PUBLIC_BROWSER_DEVTOOLS_MANAGER_DELEGATE_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_DEVTOOLS_MANAGER_DELEGATE_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_DEVTOOLS_MANAGER_DELEGATE_H_ | 6 #define CONTENT_PUBLIC_BROWSER_DEVTOOLS_MANAGER_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 DevToolsAgentHost* agent_host, | 47 DevToolsAgentHost* agent_host, |
| 48 base::DictionaryValue* command); | 48 base::DictionaryValue* command); |
| 49 | 49 |
| 50 // Should return discovery page HTML that should list available tabs | 50 // Should return discovery page HTML that should list available tabs |
| 51 // and provide attach links. | 51 // and provide attach links. |
| 52 virtual std::string GetDiscoveryPageHTML(); | 52 virtual std::string GetDiscoveryPageHTML(); |
| 53 | 53 |
| 54 // Returns frontend resource data by |path|. | 54 // Returns frontend resource data by |path|. |
| 55 virtual std::string GetFrontendResource(const std::string& path); | 55 virtual std::string GetFrontendResource(const std::string& path); |
| 56 | 56 |
| 57 // Returns browser target path for remote debugging. |
| 58 virtual std::string GetBrowserTargetGUID(); |
| 59 |
| 57 virtual ~DevToolsManagerDelegate(); | 60 virtual ~DevToolsManagerDelegate(); |
| 58 }; | 61 }; |
| 59 | 62 |
| 60 } // namespace content | 63 } // namespace content |
| 61 | 64 |
| 62 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_MANAGER_DELEGATE_H_ | 65 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_MANAGER_DELEGATE_H_ |
| OLD | NEW |