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

Unified Diff: components/devtools_discovery/basic_target_descriptor.cc

Issue 1140083004: Change WebContents::last_active_time_ to Time instead of Timeticks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
Index: components/devtools_discovery/basic_target_descriptor.cc
diff --git a/components/devtools_discovery/basic_target_descriptor.cc b/components/devtools_discovery/basic_target_descriptor.cc
index d8d2f8386ef0b79e60154dde82e3ccbce19f7f78..e425b8ba3fa515ba0e8cbbf22bffbdfba232582c 100644
--- a/components/devtools_discovery/basic_target_descriptor.cc
+++ b/components/devtools_discovery/basic_target_descriptor.cc
@@ -47,7 +47,7 @@ BasicTargetDescriptor::BasicTargetDescriptor(
content::NavigationEntry* entry = controller.GetActiveEntry();
if (entry != NULL && entry->GetURL().is_valid())
favicon_url_ = entry->GetFavicon().url;
- last_activity_time_ = web_contents->GetLastActiveTime();
+ last_active_time_ = web_contents->GetLastActiveTime();
}
}
@@ -82,8 +82,8 @@ GURL BasicTargetDescriptor::GetFaviconURL() const {
return favicon_url_;
}
-base::TimeTicks BasicTargetDescriptor::GetLastActivityTime() const {
- return last_activity_time_;
+base::Time BasicTargetDescriptor::GetLastActiveTime() const {
+ return last_active_time_;
}
bool BasicTargetDescriptor::IsAttached() const {
« no previous file with comments | « components/devtools_discovery/basic_target_descriptor.h ('k') | components/devtools_discovery/devtools_target_descriptor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698