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

Unified Diff: trunk/src/content/test/plugin/plugin_geturl_test.cc

Issue 105823009: Revert 239280 "Move more file_util functions to base namespace." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years 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: trunk/src/content/test/plugin/plugin_geturl_test.cc
===================================================================
--- trunk/src/content/test/plugin/plugin_geturl_test.cc (revision 239399)
+++ trunk/src/content/test/plugin/plugin_geturl_test.cc (working copy)
@@ -212,7 +212,7 @@
base::FilePath path = base::FilePath(filename);
#endif
- test_file_ = base::OpenFile(path, "r");
+ test_file_ = file_util::OpenFile(path, "r");
if (!test_file_) {
SetError("Could not open source file");
}
@@ -356,7 +356,7 @@
size_t bytes = fread(read_buffer, 1, sizeof(read_buffer), test_file_);
if (bytes != 0)
SetError("Data and source mismatch on length");
- base::CloseFile(test_file_);
+ file_util::CloseFile(test_file_);
}
break;
default:
« no previous file with comments | « trunk/src/content/renderer/media/webrtc_audio_device_unittest.cc ('k') | trunk/src/content/test/weburl_loader_mock_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698