| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_EXTERNAL_AGENT_PROXY_DELEGATE_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_DEVTOOLS_EXTERNAL_AGENT_PROXY_DELEGATE_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_DEVTOOLS_EXTERNAL_AGENT_PROXY_DELEGATE_H_ | 6 #define CONTENT_PUBLIC_BROWSER_DEVTOOLS_EXTERNAL_AGENT_PROXY_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 | 44 |
| 45 // Activates agent host. | 45 // Activates agent host. |
| 46 virtual bool Activate() = 0; | 46 virtual bool Activate() = 0; |
| 47 | 47 |
| 48 // Reloads agent host. | 48 // Reloads agent host. |
| 49 virtual void Reload() = 0; | 49 virtual void Reload() = 0; |
| 50 | 50 |
| 51 // Reloads agent host. | 51 // Reloads agent host. |
| 52 virtual bool Close() = 0; | 52 virtual bool Close() = 0; |
| 53 | 53 |
| 54 // Returns the time when the host was last active. |
| 55 virtual base::TimeTicks GetLastActivityTime() = 0; |
| 56 |
| 54 // Sends a message to the agent. | 57 // Sends a message to the agent. |
| 55 virtual void SendMessageToBackend(const std::string& message) = 0; | 58 virtual void SendMessageToBackend(const std::string& message) = 0; |
| 56 }; | 59 }; |
| 57 | 60 |
| 58 } // namespace content | 61 } // namespace content |
| 59 | 62 |
| 60 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_EXTERNAL_AGENT_PROXY_DELEGATE_H_ | 63 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_EXTERNAL_AGENT_PROXY_DELEGATE_H_ |
| OLD | NEW |