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

Unified Diff: base/mac/mac_logging.cc

Issue 1647803004: Move base to DEPS (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 11 months 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 | « base/mac/mac_logging.h ('k') | base/mac/mac_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d58220fe8977a5bd03f5ec451d23affdbe089a1d..0000000000000000000000000000000000000000
--- a/base/mac/mac_logging.cc
+++ /dev/null
@@ -1,37 +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 <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
« no previous file with comments | « base/mac/mac_logging.h ('k') | base/mac/mac_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698