| Index: base/mac/mac_logging.cc
|
| diff --git a/base/mac/mac_logging.cc b/base/mac/mac_logging.cc
|
| deleted file mode 100644
|
| index e82b0ed5f6c7cbf4e588725acba99bc73ea0a328..0000000000000000000000000000000000000000
|
| --- a/base/mac/mac_logging.cc
|
| +++ /dev/null
|
| @@ -1,38 +0,0 @@
|
| -// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#include "base/mac/mac_logging.h"
|
| -#include "build/build_config.h"
|
| -
|
| -#include <iomanip>
|
| -
|
| -#if !defined(OS_IOS)
|
| -#include <CoreServices/CoreServices.h>
|
| -#endif
|
| -
|
| -namespace logging {
|
| -
|
| -OSStatusLogMessage::OSStatusLogMessage(const char* file_path,
|
| - int line,
|
| - LogSeverity severity,
|
| - OSStatus status)
|
| - : LogMessage(file_path, line, severity),
|
| - status_(status) {
|
| -}
|
| -
|
| -OSStatusLogMessage::~OSStatusLogMessage() {
|
| -#if defined(OS_IOS)
|
| - // TODO(ios): Consider using NSError with NSOSStatusErrorDomain to try to
|
| - // get a description of the failure.
|
| - stream() << ": " << status_;
|
| -#else
|
| - stream() << ": "
|
| - << GetMacOSStatusErrorString(status_)
|
| - << " ("
|
| - << status_
|
| - << ")";
|
| -#endif
|
| -}
|
| -
|
| -} // namespace logging
|
|
|