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

Unified Diff: net/quic/platform/impl/quic_logging_impl.h

Issue 2631613002: Revert of Add quic_logging (Closed)
Patch Set: Created 3 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 | « net/quic/platform/impl/quic_bug_tracker_impl.h ('k') | net/quic/test_tools/crypto_test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/platform/impl/quic_logging_impl.h
diff --git a/net/quic/platform/impl/quic_logging_impl.h b/net/quic/platform/impl/quic_logging_impl.h
deleted file mode 100644
index 000b20b95e1002d2ad65d24454d01853f7a5fe57..0000000000000000000000000000000000000000
--- a/net/quic/platform/impl/quic_logging_impl.h
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (c) 2017 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.
-
-#ifndef NET_QUIC_PLATFORM_IMPL_QUIC_LOGGING_IMPL_H_
-#define NET_QUIC_PLATFORM_IMPL_QUIC_LOGGING_IMPL_H_
-
-#include "base/logging.h"
-
-#define QUIC_LOG_IMPL(severity) QUIC_CHROMIUM_LOG_##severity
-#define QUIC_LOG_EVERY_N_SEC_IMPL(severity, seconds) QUIC_LOG_IMPL(severity)
-#define QUIC_LOG_FIRST_N_IMPL(severity, n) QUIC_LOG_IMPL(severity)
-#define QUIC_DLOG_IMPL(severity) QUIC_CHROMIUM_DLOG_##severity
-#define QUIC_LOG_IF_IMPL(severity, condition) \
- QUIC_CHROMIUM_LOG_IF_##severity(condition)
-
-#define QUIC_CHROMIUM_LOG_INFO VLOG(1)
-#define QUIC_CHROMIUM_LOG_WARNING DLOG(WARNING)
-#define QUIC_CHROMIUM_LOG_ERROR DLOG(ERROR)
-#define QUIC_CHROMIUM_LOG_FATAL LOG(FATAL)
-#define QUIC_CHROMIUM_LOG_DFATAL LOG(DFATAL)
-
-#define QUIC_CHROMIUM_DLOG_INFO DVLOG(1)
-#define QUIC_CHROMIUM_DLOG_WARNING DLOG(WARNING)
-#define QUIC_CHROMIUM_DLOG_ERROR DLOG(ERROR)
-#define QUIC_CHROMIUM_DLOG_FATAL DLOG(FATAL)
-#define QUIC_CHROMIUM_DLOG_DFATAL DLOG(DFATAL)
-
-#define QUIC_CHROMIUM_LOG_IF_INFO(condition) VLOG_IF(1, condition)
-#define QUIC_CHROMIUM_LOG_IF_WARNING(condition) DLOG_IF(WARNING, condition)
-#define QUIC_CHROMIUM_LOG_IF_ERROR(condition) DLOG_IF(ERROR, condition)
-#define QUIC_CHROMIUM_LOG_IF_FATAL(condition) LOG_IF(FATAL, condition)
-#define QUIC_CHROMIUM_LOG_IF_DFATAL(condition) LOG_IF(DFATAL, condition)
-
-#define QUIC_DVLOG_IMPL(verbose_level) DVLOG(verbose_level)
-
-#if defined(OS_WIN)
-// wingdi.h defines ERROR to be 0. When we call QUIC_DLOG(ERROR), it gets
-// substituted with 0, and it expands to QUIC_CHROMIUM_DLOG_0. To allow us to
-// keep using this syntax, we define this macro to do the same thing as
-// QUIC_CHROMIUM_DLOG_ERROR.
-#define QUIC_CHROMIUM_LOG_0 QUIC_CHROMIUM_LOG_ERROR
-#define QUIC_CHROMIUM_DLOG_0 QUIC_CHROMIUM_DLOG_ERROR
-#define QUIC_CHROMIUM_LOG_IF_0 QUIC_CHROMIUM_LOG_IF_ERROR
-#endif
-
-#endif // NET_QUIC_PLATFORM_IMPL_QUIC_LOGGING_IMPL_H_
« no previous file with comments | « net/quic/platform/impl/quic_bug_tracker_impl.h ('k') | net/quic/test_tools/crypto_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698