diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-14 23:32:01 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-14 23:32:01 +0000 |
commit | 7ab1e7d655b5207df4d23f046ca6a927da9df007 (patch) | |
tree | f3da143df1d41e42b907972fb791388bbf48a904 /chrome/test/startup | |
parent | 8238c3e56dd70357c72e1a78100e06d0bfcdedc4 (diff) | |
download | chromium_src-7ab1e7d655b5207df4d23f046ca6a927da9df007.zip chromium_src-7ab1e7d655b5207df4d23f046ca6a927da9df007.tar.gz chromium_src-7ab1e7d655b5207df4d23f046ca6a927da9df007.tar.bz2 |
Add histogram for how tab closing time. Did some cleanup along the way. Moved the is_showing_before_unload_dialog_ stuff from RenderViewHost to TabContents since we need that bit there as well.
Review URL: http://codereview.chromium.org/274057
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29063 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/startup')
-rw-r--r-- | chrome/test/startup/feature_startup_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/test/startup/feature_startup_test.cc b/chrome/test/startup/feature_startup_test.cc index 31fd81a..9056520 100644 --- a/chrome/test/startup/feature_startup_test.cc +++ b/chrome/test/startup/feature_startup_test.cc @@ -134,15 +134,15 @@ class NewTabUIStartupTest : public UITest { ASSERT_TRUE(automation()->WaitForInitialNewTabUILoad(&duration)); // Collect the timing information. - ASSERT_TRUE(automation()->GetMetricEventDuration("NewTab.ScriptStart", + ASSERT_TRUE(automation()->GetMetricEventDuration("Tab.NewTabScriptStart", &duration)); scriptstart_times[i] = TimeDelta::FromMilliseconds(duration); ASSERT_TRUE(automation()->GetMetricEventDuration( - "NewTab.DOMContentLoaded", &duration)); + "Tab.NewTabDOMContentLoaded", &duration)); domcontentloaded_times[i] = TimeDelta::FromMilliseconds(duration); - ASSERT_TRUE(automation()->GetMetricEventDuration("NewTab.Onload", + ASSERT_TRUE(automation()->GetMetricEventDuration("Tab.NewTabOnload", &duration)); onload_times[i] = TimeDelta::FromMilliseconds(duration); |