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

Side by Side Diff: base/nacl_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 10 years, 12 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/logging.h ('k') | gpu/command_buffer/client/cmd_buffer_helper.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // This file implements logging in NaCl environment.
6
7 #ifndef BASE_NACL_LOGGING_H_
8 #define BASE_NACL_LOGGING_H_
9
10 #include <sstream>
11
12 // TODO: implement logging through nacl's debug service runtime if
13 // available.
14 #define CHECK(X) do {} while (0)
15 #define CHECK_EQ(X, Y) do {} while (0)
16 #define CHECK_NE(X, Y) do {} while (0)
17 #define CHECK_GT(X, Y) do {} while (0)
18 #define CHECK_GE(X, Y) do {} while (0)
19 #define CHECK_LT(X, Y) do {} while (0)
20 #define CHECK_LE(X, Y) do {} while (0)
21
22 #define DCHECK(X) do {} while (0)
23 #define DCHECK_EQ(X, Y) do {} while (0)
24 #define DCHECK_NE(X, Y) do {} while (0)
25 #define DCHECK_GT(X, Y) do {} while (0)
26 #define DCHECK_GE(X, Y) do {} while (0)
27 #define DCHECK_LT(X, Y) do {} while (0)
28 #define DCHECK_LE(X, Y) do {} while (0)
29
30 #define LOG(LEVEL) if (0) std::ostringstream()
31 #define DLOG(LEVEL) if (0) std::ostringstream()
32
33 #endif // BASE_NACL_LOGGING_H_
OLDNEW
« no previous file with comments | « base/logging.h ('k') | gpu/command_buffer/client/cmd_buffer_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698