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

Unified Diff: third_party/android_crazy_linker/src/include/crazy_linker.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
« no previous file with comments | « base/android/linker/linker_jni.cc ('k') | third_party/android_crazy_linker/src/src/crazy_linker_api.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..b09f8c512e834381fac26a47c438093fe932e323 100644
--- a/third_party/android_crazy_linker/src/include/crazy_linker.h
+++ b/third_party/android_crazy_linker/src/include/crazy_linker.h
@@ -335,6 +335,11 @@ crazy_status_t crazy_library_find_from_address(
void* address,
crazy_library_t** library) _CRAZY_PUBLIC;
+// Check whether |lib_name| is page aligned in |zipfile_name|.
+crazy_status_t crazy_linker_check_library_aligned_in_zip_file(
+ const char* zipfile_name,
+ const char* lib_name) _CRAZY_PUBLIC;
+
// Close a library. This decrements its reference count. If it reaches
// zero, the library be unloaded from the process.
void crazy_library_close(crazy_library_t* library) _CRAZY_PUBLIC;
« no previous file with comments | « base/android/linker/linker_jni.cc ('k') | third_party/android_crazy_linker/src/src/crazy_linker_api.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698