Add dbghelp.dll that works on XP, and include in base.isolate
[chromium-blink-merge.git] / base / android / library_loader / library_load_from_apk_status_codes.h
blobf99eebc89891456ac825dad953d5367fe96e2b48
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef BASE_ANDROID_LIBRARY_LOAD_FROM_APK_STATUS_CODES_H_
6 #define BASE_ANDROID_LIBRARY_LOAD_FROM_APK_STATUS_CODES_H_
8 namespace base {
9 namespace android {
11 namespace {
13 // This enum must be kept in sync with the LibraryLoadFromApkStatus enum in
14 // tools/metrics/histograms/histograms.xml.
15 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.base.library_loader
16 enum LibraryLoadFromApkStatusCodes {
17 // The loader was unable to determine whether the functionality is supported.
18 LIBRARY_LOAD_FROM_APK_STATUS_CODES_UNKNOWN = 0,
20 // The device does not support loading a library directly from the APK file.
21 LIBRARY_LOAD_FROM_APK_STATUS_CODES_NOT_SUPPORTED = 1,
23 // The device supports loading a library directly from the APK file.
24 LIBRARY_LOAD_FROM_APK_STATUS_CODES_SUPPORTED = 2,
26 // The Chromium library was successfully loaded directly from the APK file.
27 LIBRARY_LOAD_FROM_APK_STATUS_CODES_SUCCESSFUL = 3,
29 // The Chromium library was successfully loaded using the unpack library
30 // fallback because it was compressed or not page aligned in the APK file.
31 LIBRARY_LOAD_FROM_APK_STATUS_CODES_USED_UNPACK_LIBRARY_FALLBACK = 4,
33 // The Chromium library was successfully loaded using the no map executable
34 // support fallback.
35 LIBRARY_LOAD_FROM_APK_STATUS_CODES_USED_NO_MAP_EXEC_SUPPORT_FALLBACK = 5,
37 // End sentinel.
38 LIBRARY_LOAD_FROM_APK_STATUS_CODES_MAX = 6,
41 } // namespace
43 } // namespace android
44 } // namespace base
46 #endif // BASE_ANDROID_LIBRARY_LOAD_FROM_APK_STATUS_CODES_H_