diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-24 00:21:26 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-24 00:21:26 +0000 |
commit | 828912619a537bf7a33a36c2441d922a7639bc9b (patch) | |
tree | 6c49122fa2a1d04ba8b3b65705bd6fbf23b3d34e /webkit | |
parent | ed1ff5e175dbc151aa7999e2c7b79a82c8ff7052 (diff) | |
download | chromium_src-828912619a537bf7a33a36c2441d922a7639bc9b.zip chromium_src-828912619a537bf7a33a36c2441d922a7639bc9b.tar.gz chromium_src-828912619a537bf7a33a36c2441d922a7639bc9b.tar.bz2 |
Implement extension:// protocol.
Review URL: http://codereview.chromium.org/15010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7462 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/tools/test_shell/test_shell.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/webkit/tools/test_shell/test_shell.cc b/webkit/tools/test_shell/test_shell.cc index cb2d437..b31abee 100644 --- a/webkit/tools/test_shell/test_shell.cc +++ b/webkit/tools/test_shell/test_shell.cc @@ -97,13 +97,13 @@ class URLRequestTestShellFileJob : public URLRequestFileJob { file_util::AppendToPath(&path, L"Resources"); file_util::AppendToPath(&path, L"Inspector"); file_util::AppendToPath(&path, UTF8ToWide(request->url().path())); - return new URLRequestTestShellFileJob(request, path); + return new URLRequestTestShellFileJob(request, + FilePath::FromWStringHack(path)); } private: - URLRequestTestShellFileJob(URLRequest* request, const std::wstring& path) - : URLRequestFileJob(request) { - this->file_path_ = FilePath::FromWStringHack(path); + URLRequestTestShellFileJob(URLRequest* request, const FilePath& path) + : URLRequestFileJob(request, path) { } DISALLOW_COPY_AND_ASSIGN(URLRequestTestShellFileJob); |