| 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_BROWSER_DEVTOOLS_FORWARDING_AGENT_HOST_H_ | 5 #ifndef CONTENT_BROWSER_DEVTOOLS_FORWARDING_AGENT_HOST_H_ |
| 6 #define CONTENT_BROWSER_DEVTOOLS_FORWARDING_AGENT_HOST_H_ | 6 #define CONTENT_BROWSER_DEVTOOLS_FORWARDING_AGENT_HOST_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 void Attach() override; | 33 void Attach() override; |
| 34 void Detach() override; | 34 void Detach() override; |
| 35 bool DispatchProtocolMessage(const std::string& message) override; | 35 bool DispatchProtocolMessage(const std::string& message) override; |
| 36 | 36 |
| 37 // DevToolsAgentHost implementation | 37 // DevToolsAgentHost implementation |
| 38 std::string GetType() override; | 38 std::string GetType() override; |
| 39 std::string GetTitle() override; | 39 std::string GetTitle() override; |
| 40 GURL GetURL() override; | 40 GURL GetURL() override; |
| 41 GURL GetFaviconURL() override; | 41 GURL GetFaviconURL() override; |
| 42 bool Activate() override; | 42 bool Activate() override; |
| 43 bool Inspect() override; | 43 bool Inspect(BrowserContext* context) override; |
| 44 void Reload() override; | 44 void Reload() override; |
| 45 bool Close() override; | 45 bool Close() override; |
| 46 | 46 |
| 47 std::unique_ptr<DevToolsExternalAgentProxyDelegate> delegate_; | 47 std::unique_ptr<DevToolsExternalAgentProxyDelegate> delegate_; |
| 48 std::string type_; | 48 std::string type_; |
| 49 std::string title_; | 49 std::string title_; |
| 50 GURL url_; | 50 GURL url_; |
| 51 }; | 51 }; |
| 52 | 52 |
| 53 } // namespace content | 53 } // namespace content |
| 54 | 54 |
| 55 #endif // CONTENT_BROWSER_DEVTOOLS_FORWARDING_AGENT_HOST_H_ | 55 #endif // CONTENT_BROWSER_DEVTOOLS_FORWARDING_AGENT_HOST_H_ |
| OLD | NEW |