diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-14 20:32:19 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-14 20:32:19 +0000 |
commit | 158a0892d261b8c717f2bc92bec4649898e4da96 (patch) | |
tree | a9ffd69181f6798160a59384d2e6088771364c29 /chrome/browser/unload_uitest.cc | |
parent | 866ba3fc1097334050b59b919e12e11314f2965d (diff) | |
download | chromium_src-158a0892d261b8c717f2bc92bec4649898e4da96.zip chromium_src-158a0892d261b8c717f2bc92bec4649898e4da96.tar.gz chromium_src-158a0892d261b8c717f2bc92bec4649898e4da96.tar.bz2 |
Use FilePath in URLRequestMocks.
BUG=24672
TEST=compiles
Review URL: http://codereview.chromium.org/271066
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29013 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/unload_uitest.cc')
-rw-r--r-- | chrome/browser/unload_uitest.cc | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/chrome/browser/unload_uitest.cc b/chrome/browser/unload_uitest.cc index b79a356..86d0a82 100644 --- a/chrome/browser/unload_uitest.cc +++ b/chrome/browser/unload_uitest.cc @@ -123,9 +123,11 @@ class UnloadTest : public UITest { } void NavigateToNolistenersFileTwice() { - NavigateToURL(URLRequestMockHTTPJob::GetMockUrl(L"title2.html")); + NavigateToURL(URLRequestMockHTTPJob::GetMockUrl( + FilePath(FILE_PATH_LITERAL("title2.html")))); CheckTitle(L"Title Of Awesomeness"); - NavigateToURL(URLRequestMockHTTPJob::GetMockUrl(L"title2.html")); + NavigateToURL(URLRequestMockHTTPJob::GetMockUrl( + FilePath(FILE_PATH_LITERAL("title2.html")))); CheckTitle(L"Title Of Awesomeness"); } @@ -137,10 +139,12 @@ class UnloadTest : public UITest { // if we don't sleep here. PlatformThread::Sleep(400); NavigateToURLAsync( - URLRequestMockHTTPJob::GetMockUrl(L"title2.html")); + URLRequestMockHTTPJob::GetMockUrl( + FilePath(FILE_PATH_LITERAL("title2.html")))); PlatformThread::Sleep(400); NavigateToURL( - URLRequestMockHTTPJob::GetMockUrl(L"title2.html")); + URLRequestMockHTTPJob::GetMockUrl( + FilePath(FILE_PATH_LITERAL("title2.html")))); CheckTitle(L"Title Of Awesomeness"); } |