Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(322)

Unified Diff: content/renderer/dom_serializer_browsertest.cc

Issue 19579005: Move ReadFileToString to the base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/renderer/dom_serializer_browsertest.cc
diff --git a/content/renderer/dom_serializer_browsertest.cc b/content/renderer/dom_serializer_browsertest.cc
index bcc4fc6c5b3a7de78b535c8790d230de91f817a5..69dfc6533be2b99949cb5e1a85e7c5a21f4a0ecb 100644
--- a/content/renderer/dom_serializer_browsertest.cc
+++ b/content/renderer/dom_serializer_browsertest.cc
@@ -820,7 +820,7 @@ IN_PROC_BROWSER_TEST_F(DomSerializerTests, SerializeXMLDocWithBuiltInEntities) {
base::FilePath xml_file_path = GetTestFilePath("dom_serializer", "note.xml");
// Read original contents for later comparison.
std::string original_contents;
- ASSERT_TRUE(file_util::ReadFileToString(xml_file_path, &original_contents));
+ ASSERT_TRUE(base::ReadFileToString(xml_file_path, &original_contents));
// Get file URL.
GURL file_url = net::FilePathToFileURL(page_file_path);
GURL xml_file_url = net::FilePathToFileURL(xml_file_path);
@@ -840,7 +840,7 @@ IN_PROC_BROWSER_TEST_F(DomSerializerTests, SerializeHTMLDOMWithAddingMOTW) {
GetTestFilePath("dom_serializer", "youtube_2.htm");
// Read original contents for later comparison .
std::string original_contents;
- ASSERT_TRUE(file_util::ReadFileToString(page_file_path, &original_contents));
+ ASSERT_TRUE(base::ReadFileToString(page_file_path, &original_contents));
// Get file URL.
GURL file_url = net::FilePathToFileURL(page_file_path);
ASSERT_TRUE(file_url.SchemeIsFile());
« no previous file with comments | « content/common/sandbox_mac_fontloading_unittest.mm ('k') | content/shell/app/webkit_test_platform_support_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698