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

Unified Diff: third_party/android_crazy_linker/src/include/crazy_linker.h

Issue 643803003: Add UMA for testing whether device supports memory mapping APK files with executable permissions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/include/crazy_linker.h
diff --git a/third_party/android_crazy_linker/src/include/crazy_linker.h b/third_party/android_crazy_linker/src/include/crazy_linker.h
index 04fc8cec487d1e8af018ecf448938230c15d8375..eb74641cb4a6d9d446c9e2c664c26b29c83d0992 100644
--- a/third_party/android_crazy_linker/src/include/crazy_linker.h
+++ b/third_party/android_crazy_linker/src/include/crazy_linker.h
@@ -343,6 +343,14 @@ void crazy_library_close(crazy_library_t* library) _CRAZY_PUBLIC;
void crazy_library_close_with_context(crazy_library_t* library,
crazy_context_t* context) _CRAZY_PUBLIC;
+
+// Test whether the device supports memory mapping APK files with executable
+// permissions.
+// |apkfile_name| is the filename of the APK.
+// On succes, returns CRAZY_STATUS_SUCCESS.
+crazy_status_t crazy_linker_test_load_from_apk(const char* apkfile_name)
+ _CRAZY_PUBLIC;
rmcilroy 2014/10/10 10:27:05 I don't think we want to extend the crazy linker A
petrcermak 2014/10/10 14:20:14 Done.
+
#ifdef __cplusplus
} /* extern "C" */
#endif

Powered by Google App Engine
This is Rietveld 408576698