diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-18 22:39:31 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-18 22:39:31 +0000 |
commit | fde6714d19b512b6190f08082c2ea05a21050253 (patch) | |
tree | 652fb54b3891708438648dd8d6cc6e0ebda700eb /webkit/glue/dom_serializer_unittest.cc | |
parent | f90efcffb6df294c6e0269aac4a4a4442b9505f3 (diff) | |
download | chromium_src-fde6714d19b512b6190f08082c2ea05a21050253.zip chromium_src-fde6714d19b512b6190f08082c2ea05a21050253.tar.gz chromium_src-fde6714d19b512b6190f08082c2ea05a21050253.tar.bz2 |
Prepare some files for porting:
- Trade in some old wstrings for FilePaths.
- Remove some unnecessary headers.
Review URL: http://codereview.chromium.org/21466
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9986 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/dom_serializer_unittest.cc')
-rw-r--r-- | webkit/glue/dom_serializer_unittest.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/webkit/glue/dom_serializer_unittest.cc b/webkit/glue/dom_serializer_unittest.cc index 317a374..c5c0072 100644 --- a/webkit/glue/dom_serializer_unittest.cc +++ b/webkit/glue/dom_serializer_unittest.cc @@ -44,7 +44,7 @@ class DomSerializerTests : public TestShellTest, public webkit_glue::DomSerializerDelegate { public: DomSerializerTests() - : local_directory_name_(L"./dummy_files/") { } + : local_directory_name_(FILE_PATH_LITERAL("./dummy_files/")) { } // DomSerializerDelegate. void DidSerializeDataForFrame(const GURL& frame_url, @@ -140,7 +140,7 @@ class DomSerializerTests : public TestShellTest, // Add input file URl to links_. links_.push_back(page_url); // Add dummy file path to local_path_. - local_paths_.push_back(std::wstring(L"c:\\dummy.htm")); + local_paths_.push_back(FilePath(FILE_PATH_LITERAL("c:\\dummy.htm"))); // Start serializing DOM. webkit_glue::DomSerializer dom_serializer(web_frame, recursive_serialization, this, links_, local_paths_, @@ -162,10 +162,10 @@ class DomSerializerTests : public TestShellTest, std::vector<GURL> links_; // The local_paths_ contain dummy corresponding local file paths of all saved // links, which matched links_ one by one. - std::vector<std::wstring> local_paths_; + std::vector<FilePath> local_paths_; // The local_directory_name_ is dummy relative path of directory which // contain all saved auxiliary files included all sub frames and resources. - const std::wstring local_directory_name_; + const FilePath local_directory_name_; protected: // testing::Test |