Chromium Code Reviews| Index: base/android/library_loader/library_load_from_apk_status_codes.h |
| diff --git a/base/android/library_loader/library_load_from_apk_status_codes.h b/base/android/library_loader/library_load_from_apk_status_codes.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..73ddbd5bebe60f963a8e55f979f6ee9d87002cba |
| --- /dev/null |
| +++ b/base/android/library_loader/library_load_from_apk_status_codes.h |
| @@ -0,0 +1,36 @@ |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef BASE_ANDROID_LIBRARY_LOAD_FROM_APK_STATUS_CODES_H_ |
| +#define BASE_ANDROID_LIBRARY_LOAD_FROM_APK_STATUS_CODES_H_ |
| + |
| +namespace base { |
| +namespace android { |
| + |
| +namespace { |
| + |
| +// GENERATED_JAVA_ENUM_PACKAGE: org.chromium.base.library_loader |
| +enum LibraryLoadFromApkStatusCodes { |
| + // The loader was unable to determine whether the functionality is supported. |
| + LIBRARY_LOAD_FROM_APK_STATUS_CODES_UNKNOWN = 0, |
|
mkosiba (inactive)
2014/10/24 14:17:26
FYI: you don't need to explicitly assign the value
petrcermak
2014/10/24 16:42:49
Acknowledged (I kept the explicit numbering to mak
|
| + |
| + // The device does not support loading a library directly from the APK file. |
| + LIBRARY_LOAD_FROM_APK_STATUS_CODES_NOT_SUPPORTED = 1, |
| + |
| + // The device supports loading a library directly from the APK file. |
| + LIBRARY_LOAD_FROM_APK_STATUS_CODES_SUPPORTED = 2, |
| + |
| + // A library was successfully loaded directly from the APK file. |
| + LIBRARY_LOAD_FROM_APK_STATUS_CODES_SUCCESSFUL = 3, |
| + |
| + // End sentinel. |
| + LIBRARY_LOAD_FROM_APK_STATUS_CODES_MAX = 4, |
| +}; |
| + |
| +} // namespace |
| + |
| +} // namespace android |
| +} // namespace base |
| + |
| +#endif // BASE_ANDROID_LIBRARY_LOAD_FROM_APK_STATUS_CODES_H_ |