diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-28 00:11:27 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-28 00:11:27 +0000 |
commit | ec7690fc03aef949ea4eece3c17b3f78b265006e (patch) | |
tree | 8ccd3f4cce7dceb5dcf7782c68d5619f90f2f61f /chrome/browser/unload_uitest.cc | |
parent | 2bf52ed344c1036c5b35100e18c23b0698b750fc (diff) | |
download | chromium_src-ec7690fc03aef949ea4eece3c17b3f78b265006e.zip chromium_src-ec7690fc03aef949ea4eece3c17b3f78b265006e.tar.gz chromium_src-ec7690fc03aef949ea4eece3c17b3f78b265006e.tar.bz2 |
Convert Windows Sleep to PlatformThread::Sleep
First stage to make tests/others cross-platform.
BUG=None
TEST=Ran tests successfully (windows)
Review URL: http://codereview.chromium.org/63113
Patch from Mohamed Mansour <m0.interactive@gmail.com>.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14688 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/unload_uitest.cc')
-rw-r--r-- | chrome/browser/unload_uitest.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/chrome/browser/unload_uitest.cc b/chrome/browser/unload_uitest.cc index d499411..61b8ec1 100644 --- a/chrome/browser/unload_uitest.cc +++ b/chrome/browser/unload_uitest.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -122,11 +122,9 @@ class UnloadTest : public UITest { } void NavigateToNolistenersFileTwice() { - NavigateToURL( - URLRequestMockHTTPJob::GetMockUrl(L"title2.html")); + NavigateToURL(URLRequestMockHTTPJob::GetMockUrl(L"title2.html")); CheckTitle(L"Title Of Awesomeness"); - NavigateToURL( - URLRequestMockHTTPJob::GetMockUrl(L"title2.html")); + NavigateToURL(URLRequestMockHTTPJob::GetMockUrl(L"title2.html")); CheckTitle(L"Title Of Awesomeness"); } |