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

Unified Diff: mojo/public/c/environment/logger.h

Issue 469393002: Mojo: clang-format mojo/public/c/... and add a presubmit check. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | « mojo/public/c/PRESUBMIT.py ('k') | mojo/public/c/system/buffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/c/environment/logger.h
diff --git a/mojo/public/c/environment/logger.h b/mojo/public/c/environment/logger.h
index 5e9067fb509649b4b3f6ca63dd7300c7d9da87a1..c492a66397f9d181ed4231608c3a9696cef662b0 100644
--- a/mojo/public/c/environment/logger.h
+++ b/mojo/public/c/environment/logger.h
@@ -19,11 +19,11 @@ const MojoLogLevel MOJO_LOG_LEVEL_WARNING = 1;
const MojoLogLevel MOJO_LOG_LEVEL_ERROR = 2;
const MojoLogLevel MOJO_LOG_LEVEL_FATAL = 3;
#else
-#define MOJO_LOG_LEVEL_VERBOSE ((MojoLogLevel) -1)
-#define MOJO_LOG_LEVEL_INFO ((MojoLogLevel) 0)
-#define MOJO_LOG_LEVEL_WARNING ((MojoLogLevel) 1)
-#define MOJO_LOG_LEVEL_ERROR ((MojoLogLevel) 2)
-#define MOJO_LOG_LEVEL_FATAL ((MojoLogLevel) 3)
+#define MOJO_LOG_LEVEL_VERBOSE ((MojoLogLevel) - 1)
+#define MOJO_LOG_LEVEL_INFO ((MojoLogLevel)0)
+#define MOJO_LOG_LEVEL_WARNING ((MojoLogLevel)1)
+#define MOJO_LOG_LEVEL_ERROR ((MojoLogLevel)2)
+#define MOJO_LOG_LEVEL_FATAL ((MojoLogLevel)3)
#endif
// Structure with basic logging functions (on top of which more friendly logging
« no previous file with comments | « mojo/public/c/PRESUBMIT.py ('k') | mojo/public/c/system/buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698