Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Unified Diff: chrome/browser/android/devtools_manager_delegate_android.cc

Issue 2678783005: DevTools: return remote debugging targets sorted by last active time (as it was long ago). (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/devtools/device/devtools_device_discovery.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/devtools_manager_delegate_android.cc
diff --git a/chrome/browser/android/devtools_manager_delegate_android.cc b/chrome/browser/android/devtools_manager_delegate_android.cc
index 10ec47a1133bf1928313f40f67458963da7c1e44..96f58833188456d5dc1055b492e917f0e0fd1ec8 100644
--- a/chrome/browser/android/devtools_manager_delegate_android.cc
+++ b/chrome/browser/android/devtools_manager_delegate_android.cc
@@ -112,6 +112,10 @@ class TabProxyDelegate : public content::DevToolsExternalAgentProxyDelegate,
return true;
}
+ base::TimeTicks GetLastActivityTime() override {
+ return agent_host_ ? agent_host_->GetLastActivityTime() : base::TimeTicks();
+ }
+
void SendMessageToBackend(const std::string& message) override {
if (agent_host_)
agent_host_->DispatchProtocolMessage(this, message);
« no previous file with comments | « no previous file | chrome/browser/devtools/device/devtools_device_discovery.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698