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/test/automation/automation_proxy_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/test/automation/automation_proxy_uitest.cc')
-rw-r--r-- | chrome/test/automation/automation_proxy_uitest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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); |