diff options
author | glen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-21 20:44:16 +0000 |
---|---|---|
committer | glen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-21 20:44:16 +0000 |
commit | 76328988113b8bfc1cda9efdc266213199d413ca (patch) | |
tree | 935cb7e9638878eb094cc1973a2c53d29dfccc41 /chrome/browser/resources/new_tab.html | |
parent | 98abd85558e19788d971df47690bcb4eb4dd8d98 (diff) | |
download | chromium_src-76328988113b8bfc1cda9efdc266213199d413ca.zip chromium_src-76328988113b8bfc1cda9efdc266213199d413ca.tar.gz chromium_src-76328988113b8bfc1cda9efdc266213199d413ca.tar.bz2 |
Fix issue where NTP metrics for restored tabs weren't getting recorded correctly.
BUG=4668
Review URL: http://codereview.chromium.org/11356
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5846 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources/new_tab.html')
-rw-r--r-- | chrome/browser/resources/new_tab.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/resources/new_tab.html b/chrome/browser/resources/new_tab.html index cb205ec..8fe2429 100644 --- a/chrome/browser/resources/new_tab.html +++ b/chrome/browser/resources/new_tab.html @@ -585,6 +585,7 @@ function renderRecentlyClosedTabs(entries) { link.onclick = function(sessionId) { return function() { + chrome.send("metrics", ["NTP_TabRestored" + i]); /* This is a hack because chrome.send is hardcoded to only accept arrays of strings. */ chrome.send('reopenTab', [sessionId.toString()]); |