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

Unified Diff: chrome/browser/memory/tab_manager.cc

Issue 2335203003: Add metrics to keep track of the tab activate/deactivate cycle (Closed)
Patch Set: Addressed comments Created 4 years, 3 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: chrome/browser/memory/tab_manager.cc
diff --git a/chrome/browser/memory/tab_manager.cc b/chrome/browser/memory/tab_manager.cc
index fc69c65b67e0231bf2ec7350f2eeaa7bb457849f..b2b4b04714532a84c0510a2cdba1bb8183432f70 100644
--- a/chrome/browser/memory/tab_manager.cc
+++ b/chrome/browser/memory/tab_manager.cc
@@ -798,7 +798,8 @@ void TabManager::ActiveTabChanged(content::WebContents* old_contents,
GetWebContentsData(old_contents)->SetLastInactiveTime(NowTicks());
}
-void TabManager::TabInsertedAt(content::WebContents* contents,
+void TabManager::TabInsertedAt(TabStripModel* tab_strip_model,
+ content::WebContents* contents,
int index,
bool foreground) {
// Only interested in background tabs, as foreground tabs get taken care of by

Powered by Google App Engine
This is Rietveld 408576698