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

Unified Diff: gpu/command_buffer/common/logging.h

Issue 519020: Moved logging for NaCl environment from gpu/command_buffer/common/logging.h t... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years 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 | « gpu/command_buffer/common/cmd_buffer_common.h ('k') | gpu/command_buffer/common/resource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/common/logging.h
===================================================================
--- gpu/command_buffer/common/logging.h (revision 35219)
+++ gpu/command_buffer/common/logging.h (working copy)
@@ -1,39 +0,0 @@
-// Copyright (c) 2009 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.
-
-// This file abstracts differences in logging between NaCl and host
-// environment.
-
-#ifndef GPU_COMMAND_BUFFER_COMMON_LOGGING_H_
-#define GPU_COMMAND_BUFFER_COMMON_LOGGING_H_
-
-#ifndef __native_client__
-#include "base/logging.h"
-#else
-#include <sstream>
-
-// TODO: implement logging through nacl's debug service runtime if
-// available.
-#define CHECK(X) do {} while (0)
-#define CHECK_EQ(X, Y) do {} while (0)
-#define CHECK_NE(X, Y) do {} while (0)
-#define CHECK_GT(X, Y) do {} while (0)
-#define CHECK_GE(X, Y) do {} while (0)
-#define CHECK_LT(X, Y) do {} while (0)
-#define CHECK_LE(X, Y) do {} while (0)
-
-#define DCHECK(X) do {} while (0)
-#define DCHECK_EQ(X, Y) do {} while (0)
-#define DCHECK_NE(X, Y) do {} while (0)
-#define DCHECK_GT(X, Y) do {} while (0)
-#define DCHECK_GE(X, Y) do {} while (0)
-#define DCHECK_LT(X, Y) do {} while (0)
-#define DCHECK_LE(X, Y) do {} while (0)
-
-#define LOG(LEVEL) if (0) std::ostringstream()
-#define DLOG(LEVEL) if (0) std::ostringstream()
-
-#endif
-
-#endif // GPU_COMMAND_BUFFER_COMMON_LOGGING_H_
« no previous file with comments | « gpu/command_buffer/common/cmd_buffer_common.h ('k') | gpu/command_buffer/common/resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698