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

Unified Diff: remoting/base/logging.h

Issue 86523005: Replace all usage of LOG(INFO) in Chromoting host with HOST_LOG to bypass the presubmit check. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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
Index: remoting/base/logging.h
diff --git a/remoting/base/logging.h b/remoting/base/logging.h
new file mode 100644
index 0000000000000000000000000000000000000000..3be7c213cbd9759d236d43e25e2231834d0c4a65
--- /dev/null
+++ b/remoting/base/logging.h
@@ -0,0 +1,18 @@
+// Copyright 2013 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 REMOTING_BASE_LOGGING_H_
+#define REMOTING_BASE_LOGGING_H_
+
+#include "base/logging.h"
+
+namespace remoting {
+
+// Chromoting host code should use LOG_INFO instead of LOG(INFO) to bypass
+// the CheckSpamLogging presubmit check.
+#define LOG_INFO LOG(INFO)
Sergey Ulanov 2013/11/26 02:58:59 I suggest to call it HOST_LOG.
weitao 2013/11/26 18:06:08 I think we discussed the possibility of defining t
weitao 2013/11/26 19:26:20 Ranamed to HOST_LOG after discussing with Sergey.
+
+} // namespace remoting
+
+#endif // REMOTING_BASE_LOGGING_H_
« PRESUBMIT.py ('K') | « PRESUBMIT.py ('k') | remoting/host/chromoting_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698