summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download
diff options
context:
space:
mode:
authordavemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-27 16:27:25 +0000
committerdavemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-27 16:27:25 +0000
commita2f6bc11cff781a747c96ab68c4289ae43632deb (patch)
treef9c64ffea25e3d6c7ec616240df964dd63cffde5 /chrome/browser/download
parent602faf3ca5a9b1753d1f4f10639b134555d60352 (diff)
downloadchromium_src-a2f6bc11cff781a747c96ab68c4289ae43632deb.zip
chromium_src-a2f6bc11cff781a747c96ab68c4289ae43632deb.tar.gz
chromium_src-a2f6bc11cff781a747c96ab68c4289ae43632deb.tar.bz2
Fix for reverted cl http://codereview.chromium.org/147123
A recent change broke the load times. It also revealed some deficiencies. This adds a new time marker for when a load is committed, which is a more interesting value than the start of the load (which we still keep). Also, the first layout time wasn't an interesting time to keep, instead we keep the time of the first paint. The histograms were modified to use the new values when appropriate. Review URL: http://codereview.chromium.org/149099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19465 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download')
-rw-r--r--chrome/browser/download/download_uitest.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/download/download_uitest.cc b/chrome/browser/download/download_uitest.cc
index a9a5125..c35bafc 100644
--- a/chrome/browser/download/download_uitest.cc
+++ b/chrome/browser/download/download_uitest.cc
@@ -329,6 +329,7 @@ TEST_F(DownloadTest, MAYBE_IncognitoDownload) {
// Download something.
FilePath file(FILE_PATH_LITERAL("download-test1.lib"));
+ //PlatformThread::Sleep(1000);
ASSERT_TRUE(tab->NavigateToURL(
URLRequestMockHTTPJob::GetMockUrl(file.ToWStringHack())));
PlatformThread::Sleep(action_timeout_ms());