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

Unified Diff: chrome/browser/extensions/api/tabs/tabs_event_router.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/extensions/api/tabs/tabs_event_router.cc
diff --git a/chrome/browser/extensions/api/tabs/tabs_event_router.cc b/chrome/browser/extensions/api/tabs/tabs_event_router.cc
index 53ed84084150df99104d0e8bd1578787d42d4204..5b1acc5b2909f41bf1e72fb9aeaccf6760ae9239 100644
--- a/chrome/browser/extensions/api/tabs/tabs_event_router.cc
+++ b/chrome/browser/extensions/api/tabs/tabs_event_router.cc
@@ -217,7 +217,8 @@ void TabsEventRouter::TabCreatedAt(WebContents* contents,
RegisterForTabNotifications(contents);
}
-void TabsEventRouter::TabInsertedAt(WebContents* contents,
+void TabsEventRouter::TabInsertedAt(TabStripModel* tab_strip_model,
+ WebContents* contents,
int index,
bool active) {
if (!GetTabEntry(contents)) {
@@ -506,7 +507,9 @@ void TabsEventRouter::TabReplacedAt(TabStripModel* tab_strip_model,
RegisterForTabNotifications(new_contents);
}
-void TabsEventRouter::TabPinnedStateChanged(WebContents* contents, int index) {
+void TabsEventRouter::TabPinnedStateChanged(TabStripModel* tab_strip_model,
+ WebContents* contents,
+ int index) {
TabStripModel* tab_strip = NULL;
int tab_index;

Powered by Google App Engine
This is Rietveld 408576698