| Index: net/base/file_stream_win.cc
|
| ===================================================================
|
| --- net/base/file_stream_win.cc (revision 142108)
|
| +++ net/base/file_stream_win.cc (working copy)
|
| @@ -77,7 +77,7 @@
|
| FILE_ERROR_SOURCE_OPEN,
|
| record_uma,
|
| bound_net_log);
|
| - bound_net_log.EndEvent(net::NetLog::TYPE_FILE_STREAM_OPEN, NULL);
|
| + bound_net_log.EndEvent(net::NetLog::TYPE_FILE_STREAM_OPEN);
|
| return;
|
| }
|
| }
|
| @@ -85,7 +85,7 @@
|
| // Closes a file with some network logging.
|
| void CloseFile(base::PlatformFile file,
|
| const net::BoundNetLog& bound_net_log) {
|
| - bound_net_log.AddEvent(net::NetLog::TYPE_FILE_STREAM_CLOSE, NULL);
|
| + bound_net_log.AddEvent(net::NetLog::TYPE_FILE_STREAM_CLOSE);
|
| if (file == base::kInvalidPlatformFileValue)
|
| return;
|
|
|
| @@ -93,7 +93,7 @@
|
|
|
| if (!base::ClosePlatformFile(file))
|
| NOTREACHED();
|
| - bound_net_log.EndEvent(net::NetLog::TYPE_FILE_STREAM_OPEN, NULL);
|
| + bound_net_log.EndEvent(net::NetLog::TYPE_FILE_STREAM_OPEN);
|
| }
|
|
|
| // Closes a file with CloseFile() and signals the completion.
|
| @@ -211,7 +211,7 @@
|
| bound_net_log_(net::BoundNetLog::Make(net_log,
|
| net::NetLog::SOURCE_FILESTREAM)),
|
| weak_ptr_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)) {
|
| - bound_net_log_.BeginEvent(net::NetLog::TYPE_FILE_STREAM_ALIVE, NULL);
|
| + bound_net_log_.BeginEvent(net::NetLog::TYPE_FILE_STREAM_ALIVE);
|
| }
|
|
|
| FileStreamWin::FileStreamWin(
|
| @@ -223,7 +223,7 @@
|
| bound_net_log_(net::BoundNetLog::Make(net_log,
|
| net::NetLog::SOURCE_FILESTREAM)),
|
| weak_ptr_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)) {
|
| - bound_net_log_.BeginEvent(net::NetLog::TYPE_FILE_STREAM_ALIVE, NULL);
|
| + bound_net_log_.BeginEvent(net::NetLog::TYPE_FILE_STREAM_ALIVE);
|
|
|
| // If the file handle is opened with base::PLATFORM_FILE_ASYNC, we need to
|
| // make sure we will perform asynchronous File IO to it.
|
| @@ -259,7 +259,7 @@
|
| }
|
| }
|
|
|
| - bound_net_log_.EndEvent(net::NetLog::TYPE_FILE_STREAM_ALIVE, NULL);
|
| + bound_net_log_.EndEvent(net::NetLog::TYPE_FILE_STREAM_ALIVE);
|
| }
|
|
|
| void FileStreamWin::Close(const CompletionCallback& callback) {
|
| @@ -292,7 +292,7 @@
|
| // once all async clients are migrated to use Close(). crbug.com/114783
|
| WaitForIOCompletion();
|
|
|
| - bound_net_log_.AddEvent(net::NetLog::TYPE_FILE_STREAM_CLOSE, NULL);
|
| + bound_net_log_.AddEvent(net::NetLog::TYPE_FILE_STREAM_CLOSE);
|
| if (file_ != base::kInvalidPlatformFileValue)
|
| CancelIo(file_);
|
|
|
| @@ -304,7 +304,7 @@
|
| NOTREACHED();
|
| file_ = base::kInvalidPlatformFileValue;
|
|
|
| - bound_net_log_.EndEvent(net::NetLog::TYPE_FILE_STREAM_OPEN, NULL);
|
| + bound_net_log_.EndEvent(net::NetLog::TYPE_FILE_STREAM_OPEN);
|
| }
|
| }
|
|
|
|
|