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

Unified Diff: third_party/android_crazy_linker/src/src/crazy_linker_util.h

Issue 684453003: Add UMA for testing whether the Chromium library was page aligned in the APK file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update for review feedback Created 6 years, 2 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
Index: third_party/android_crazy_linker/src/src/crazy_linker_util.h
diff --git a/third_party/android_crazy_linker/src/src/crazy_linker_util.h b/third_party/android_crazy_linker/src/src/crazy_linker_util.h
index ee67076a3019f39b4579a8d173c0b683cb3cf12a..5cf20062805c681138a81d6addb6f3f5d7e82433 100644
--- a/third_party/android_crazy_linker/src/src/crazy_linker_util.h
+++ b/third_party/android_crazy_linker/src/src/crazy_linker_util.h
@@ -20,6 +20,9 @@ namespace crazy {
// int CRAZY_UNUSED my_var = 0;
#define CRAZY_UNUSED __attribute__((unused))
+// Offset in a file indicating a failure.
+#define CRAZY_OFFSET_FAILED (-1)
+
// Helper scoped pointer class.
template <class T>
class ScopedPtr {

Powered by Google App Engine
This is Rietveld 408576698