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/plugin/plugin_test.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'chrome/test/plugin') diff --git a/chrome/test/plugin/plugin_test.cpp b/chrome/test/plugin/plugin_test.cpp index 65eca9a..b9a1011 100644 --- a/chrome/test/plugin/plugin_test.cpp +++ b/chrome/test/plugin/plugin_test.cpp @@ -105,8 +105,10 @@ class PluginTest : public UITest { // HTML for the tests is all located in test_directory\plugin\ // Set |mock_http| to true to use mock HTTP server. GURL GetTestUrl(const std::wstring &test_case, bool mock_http) { - if (mock_http) - return URLRequestMockHTTPJob::GetMockUrl(L"plugin/" + test_case); + if (mock_http) { + return URLRequestMockHTTPJob::GetMockUrl( + FilePath(L"plugin/" + test_case)); + } FilePath path; PathService::Get(chrome::DIR_TEST_DATA, &path); -- cgit v1.1