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

Unified Diff: content/browser/web_contents/web_contents_impl.h

Issue 1145233002: Revert of 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: content/browser/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index 0004d0b54061443e48ca67312ffa362afc7836f1..e5e473eaac0630e11064b6e8959fded268a94881 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -275,7 +275,7 @@
base::TerminationStatus GetCrashedStatus() const override;
bool IsBeingDestroyed() const override;
void NotifyNavigationStateChanged(InvalidateTypes changed_flags) override;
- base::Time GetLastActiveTime() const override;
+ base::TimeTicks GetLastActiveTime() const override;
void WasShown() override;
void WasHidden() override;
bool NeedToFireBeforeUnload() override;
@@ -1149,7 +1149,7 @@
// The time that this WebContents was last made active. The initial value is
// the WebContents creation time.
- base::Time last_active_time_;
+ base::TimeTicks last_active_time_;
// See description above setter.
bool closed_by_user_gesture_;
« no previous file with comments | « components/devtools_http_handler/devtools_http_handler.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698