From 158a0892d261b8c717f2bc92bec4649898e4da96 Mon Sep 17 00:00:00 2001 From: "evan@chromium.org" Date: Wed, 14 Oct 2009 20:32:19 +0000 Subject: 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 --- chrome/test/automation/automation_proxy_uitest.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/test/automation/automation_proxy_uitest.cc') diff --git a/chrome/test/automation/automation_proxy_uitest.cc b/chrome/test/automation/automation_proxy_uitest.cc index 9c421cd..9b19c5e 100644 --- a/chrome/test/automation/automation_proxy_uitest.cc +++ b/chrome/test/automation/automation_proxy_uitest.cc @@ -299,7 +299,7 @@ TEST_F(AutomationProxyTest, NavigateToURLWithTimeout1) { const int kLowTimeoutMs = 250; ASSERT_GE(URLRequestSlowHTTPJob::kDelayMs, kLowTimeoutMs); tab->NavigateToURLWithTimeout( - URLRequestSlowHTTPJob::GetMockUrl(filename.ToWStringHack()), + URLRequestSlowHTTPJob::GetMockUrl(filename), 1, kLowTimeoutMs, &is_timeout); ASSERT_TRUE(is_timeout); } @@ -319,7 +319,7 @@ TEST_F(AutomationProxyTest, NavigateToURLWithTimeout2) { const int kLowTimeoutMs = 250; ASSERT_GE(URLRequestSlowHTTPJob::kDelayMs, kLowTimeoutMs); tab->NavigateToURLWithTimeout( - URLRequestSlowHTTPJob::GetMockUrl(filename1.ToWStringHack()), + URLRequestSlowHTTPJob::GetMockUrl(filename1), 1, kLowTimeoutMs, &is_timeout); ASSERT_TRUE(is_timeout); -- cgit v1.1