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

Unified Diff: runtime/embedders/android/log.h

Issue 11467028: Migrate files to embedder. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review fixes Created 7 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 | « runtime/embedders/android/input_service.cc ('k') | runtime/embedders/android/main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/embedders/android/log.h
diff --git a/samples/android_sample/jni/log.h b/runtime/embedders/android/log.h
similarity index 71%
rename from samples/android_sample/jni/log.h
rename to runtime/embedders/android/log.h
index 474c62f2b89207758f7abaa631875b584304b945..5ca638f59fb8b757869c9934fac8bd86551129a5 100644
--- a/samples/android_sample/jni/log.h
+++ b/runtime/embedders/android/log.h
@@ -2,15 +2,15 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-#ifndef LOG_H
-#define LOG_H
+#ifndef EMBEDDERS_ANDROID_LOG_H_
+#define EMBEDDERS_ANDROID_LOG_H_
#include <android/log.h>
#define LOGX(LOG_LEVEL, ...) do { \
- __android_log_print(LOG_LEVEL, "DartExt", __VA_ARGS__); \
+ __android_log_print(LOG_LEVEL, "DartExt", __VA_ARGS__); \
} while (0)
#define LOGI(...) LOGX(ANDROID_LOG_INFO, __VA_ARGS__)
#define LOGE(...) LOGX(ANDROID_LOG_ERROR, __VA_ARGS__)
-#endif
+#endif // EMBEDDERS_ANDROID_LOG_H_
« no previous file with comments | « runtime/embedders/android/input_service.cc ('k') | runtime/embedders/android/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698