diff options
author | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-07-31 19:40:37 +0000 |
---|---|---|
committer | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-07-31 19:40:37 +0000 |
commit | 8ac1a75acadaa2aae065212cb6255d00c789a184 (patch) | |
tree | 854eaf66ba8ce7e581bd8e6f1fa75f46d22f4bb7 /webkit/glue/dom_serializer_unittest.cc | |
parent | 287a019ed5d015185cab41f6c7156dc6c4cbcee7 (diff) | |
download | chromium_src-8ac1a75acadaa2aae065212cb6255d00c789a184.zip chromium_src-8ac1a75acadaa2aae065212cb6255d00c789a184.tar.gz chromium_src-8ac1a75acadaa2aae065212cb6255d00c789a184.tar.bz2 |
Move more net classes into the net namespace. Also remove the net_util namespace in favor of the net namespace.
This is a purely mechanical change. There should be no logic changes.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/dom_serializer_unittest.cc')
-rw-r--r-- | webkit/glue/dom_serializer_unittest.cc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/webkit/glue/dom_serializer_unittest.cc b/webkit/glue/dom_serializer_unittest.cc index afc4db0..b649032 100644 --- a/webkit/glue/dom_serializer_unittest.cc +++ b/webkit/glue/dom_serializer_unittest.cc @@ -263,7 +263,7 @@ bool IsMetaElement(const WebCore::Node* node, WebCore::String* charset_info) { TEST_F(DomSerializerTests, SerialzeHTMLDOMWithDocType) { std::wstring page_file_path = data_dir_; file_util::AppendToPath(&page_file_path, L"dom_serializer/youtube_1.htm"); - GURL file_url = net_util::FilePathToFileURL(page_file_path); + GURL file_url = net::FilePathToFileURL(page_file_path); ASSERT_TRUE(file_url.SchemeIsFile()); std::wstring page_url = ASCIIToWide(file_url.spec()); // Load the test file. @@ -295,7 +295,7 @@ TEST_F(DomSerializerTests, SerialzeHTMLDOMWithDocType) { TEST_F(DomSerializerTests, SerialzeHTMLDOMWithoutDocType) { std::wstring page_file_path = data_dir_; file_util::AppendToPath(&page_file_path, L"dom_serializer/youtube_2.htm"); - GURL file_url = net_util::FilePathToFileURL(page_file_path); + GURL file_url = net::FilePathToFileURL(page_file_path); ASSERT_TRUE(file_url.SchemeIsFile()); std::wstring page_url = ASCIIToWide(file_url.spec()); // Load the test file. @@ -332,7 +332,7 @@ TEST_F(DomSerializerTests, SerialzeXMLDocWithBuiltInEntities) { std::string orginal_contents; ASSERT_TRUE(file_util::ReadFileToString(page_file_path, &orginal_contents)); // Get file URL. - GURL file_url = net_util::FilePathToFileURL(page_file_path); + GURL file_url = net::FilePathToFileURL(page_file_path); ASSERT_TRUE(file_url.SchemeIsFile()); std::wstring page_url = ASCIIToWide(file_url.spec()); // Load the test file. @@ -354,7 +354,7 @@ TEST_F(DomSerializerTests, SerialzeHTMLDOMWithAddingMOTW) { std::string orginal_contents; ASSERT_TRUE(file_util::ReadFileToString(page_file_path, &orginal_contents)); // Get file URL. - GURL file_url = net_util::FilePathToFileURL(page_file_path); + GURL file_url = net::FilePathToFileURL(page_file_path); ASSERT_TRUE(file_url.SchemeIsFile()); std::wstring page_url = ASCIIToWide(file_url.spec()); // Make sure original contents does not have MOTW; @@ -385,7 +385,7 @@ TEST_F(DomSerializerTests, SerialzeHTMLDOMWithNoMetaCharsetInOriginalDoc) { std::wstring page_file_path = data_dir_; file_util::AppendToPath(&page_file_path, L"dom_serializer/youtube_1.htm"); // Get file URL. - GURL file_url = net_util::FilePathToFileURL(page_file_path); + GURL file_url = net::FilePathToFileURL(page_file_path); ASSERT_TRUE(file_url.SchemeIsFile()); std::wstring page_url = ASCIIToWide(file_url.spec()); // Load the test file. @@ -448,7 +448,7 @@ TEST_F(DomSerializerTests, std::wstring page_file_path = data_dir_; file_util::AppendToPath(&page_file_path, L"dom_serializer/youtube_2.htm"); // Get file URL. - GURL file_url = net_util::FilePathToFileURL(page_file_path); + GURL file_url = net::FilePathToFileURL(page_file_path); ASSERT_TRUE(file_url.SchemeIsFile()); std::wstring page_url = ASCIIToWide(file_url.spec()); // Load the test file. @@ -516,7 +516,7 @@ TEST_F(DomSerializerTests, SerialzeHTMLDOMWithEntitiesInText) { std::string orginal_contents; ASSERT_TRUE(file_util::ReadFileToString(page_file_path, &orginal_contents)); // Get file URL. - GURL file_url = net_util::FilePathToFileURL(page_file_path); + GURL file_url = net::FilePathToFileURL(page_file_path); ASSERT_TRUE(file_url.SchemeIsFile()); std::wstring page_url = ASCIIToWide(file_url.spec()); // Load the test file. @@ -557,7 +557,7 @@ TEST_F(DomSerializerTests, SerialzeHTMLDOMWithEntitiesInAttributeValue) { std::string orginal_contents; ASSERT_TRUE(file_util::ReadFileToString(page_file_path, &orginal_contents)); // Get file URL. - GURL file_url = net_util::FilePathToFileURL(page_file_path); + GURL file_url = net::FilePathToFileURL(page_file_path); ASSERT_TRUE(file_url.SchemeIsFile()); std::wstring page_url = ASCIIToWide(file_url.spec()); // Load the test file. @@ -598,11 +598,11 @@ TEST_F(DomSerializerTests, SerialzeHTMLDOMWithBaseTag) { std::wstring page_file_path = data_dir_; file_util::AppendToPath(&page_file_path, L"dom_serializer\\"); // Get page dir URL which is base URL of this file. - GURL path_dir_url = net_util::FilePathToFileURL(page_file_path); + GURL path_dir_url = net::FilePathToFileURL(page_file_path); // Get file path. file_util::AppendToPath(&page_file_path, L"html_doc_has_base_tag.htm"); // Get file URL. - GURL file_url = net_util::FilePathToFileURL(page_file_path); + GURL file_url = net::FilePathToFileURL(page_file_path); ASSERT_TRUE(file_url.SchemeIsFile()); std::wstring page_url = ASCIIToWide(file_url.spec()); // Load the test file. |