This source file includes following definitions.
- NetLogFileStreamErrorCallback
#include "net/base/file_stream_net_log_parameters.h"
#include "base/values.h"
namespace net {
base::Value* NetLogFileStreamErrorCallback(
FileErrorSource source,
int os_error,
net::Error net_error,
NetLog::LogLevel ) {
base::DictionaryValue* dict = new base::DictionaryValue();
dict->SetString("operation", GetFileErrorSourceName(source));
dict->SetInteger("os_error", os_error);
dict->SetInteger("net_error", net_error);
return dict;
}
}