| Index: components/device_event_log/device_event_log.cc
|
| diff --git a/components/device_event_log/device_event_log.cc b/components/device_event_log/device_event_log.cc
|
| index 0d52b6a3535df6878f333e672a1cf2e3045dfb71..8e720c0f31d2aa56923a319b6e4f73f28d50ab6d 100644
|
| --- a/components/device_event_log/device_event_log.cc
|
| +++ b/components/device_event_log/device_event_log.cc
|
| @@ -84,6 +84,19 @@ DeviceEventLogInstance::~DeviceEventLogInstance() {
|
| device_event_log::AddEntry(file_, line_, type_, level_, stream_.str());
|
| }
|
|
|
| +DeviceEventSystemErrorLogInstance::DeviceEventSystemErrorLogInstance(
|
| + const char* file,
|
| + int line,
|
| + device_event_log::LogType type,
|
| + device_event_log::LogLevel level,
|
| + logging::SystemErrorCode err)
|
| + : err_(err), log_instance_(file, line, type, level) {
|
| +}
|
| +
|
| +DeviceEventSystemErrorLogInstance::~DeviceEventSystemErrorLogInstance() {
|
| + stream() << ": " << ::logging::SystemErrorCodeToString(err_);
|
| +}
|
| +
|
| ScopedDeviceLogIfSlow::ScopedDeviceLogIfSlow(LogType type,
|
| const char* file,
|
| const std::string& name)
|
|
|