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

Unified Diff: trunk/src/net/base/net_log_logger_unittest.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
« no previous file with comments | « trunk/src/net/base/file_stream_unittest.cc ('k') | trunk/src/net/disk_cache/backend_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/net/base/net_log_logger_unittest.cc
===================================================================
--- trunk/src/net/base/net_log_logger_unittest.cc (revision 239399)
+++ trunk/src/net/base/net_log_logger_unittest.cc (working copy)
@@ -28,7 +28,7 @@
TEST_F(NetLogLoggerTest, GeneratesValidJSONForNoEvents) {
{
// Create and destroy a logger.
- FILE* file = base::OpenFile(log_path_, "w");
+ FILE* file = file_util::OpenFile(log_path_, "w");
ASSERT_TRUE(file);
scoped_ptr<base::Value> constants(NetLogLogger::GetConstants());
NetLogLogger logger(file, *constants);
@@ -50,7 +50,7 @@
TEST_F(NetLogLoggerTest, GeneratesValidJSONWithOneEvent) {
{
- FILE* file = base::OpenFile(log_path_, "w");
+ FILE* file = file_util::OpenFile(log_path_, "w");
ASSERT_TRUE(file);
scoped_ptr<base::Value> constants(NetLogLogger::GetConstants());
NetLogLogger logger(file, *constants);
@@ -82,7 +82,7 @@
TEST_F(NetLogLoggerTest, GeneratesValidJSONWithMultipleEvents) {
{
- FILE* file = base::OpenFile(log_path_, "w");
+ FILE* file = file_util::OpenFile(log_path_, "w");
ASSERT_TRUE(file);
scoped_ptr<base::Value> constants(NetLogLogger::GetConstants());
NetLogLogger logger(file, *constants);
« no previous file with comments | « trunk/src/net/base/file_stream_unittest.cc ('k') | trunk/src/net/disk_cache/backend_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698