Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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. | |
| 4 | |
| 5 #ifndef BASE_ANDROID_LIBRARY_LOAD_FROM_APK_STATUS_CODES_H_ | |
| 6 #define BASE_ANDROID_LIBRARY_LOAD_FROM_APK_STATUS_CODES_H_ | |
| 7 | |
| 8 namespace base { | |
| 9 namespace android { | |
| 10 | |
| 11 namespace { | |
| 12 | |
| 13 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.base.library_loader | |
| 14 enum LibraryLoadFromApkStatusCodes { | |
| 15 // The loader was unable to determine whether the functionality is supported. | |
| 16 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
| |
| 17 | |
| 18 // The device does not support loading a library directly from the APK file. | |
| 19 LIBRARY_LOAD_FROM_APK_STATUS_CODES_NOT_SUPPORTED = 1, | |
| 20 | |
| 21 // The device supports loading a library directly from the APK file. | |
| 22 LIBRARY_LOAD_FROM_APK_STATUS_CODES_SUPPORTED = 2, | |
| 23 | |
| 24 // A library was successfully loaded directly from the APK file. | |
| 25 LIBRARY_LOAD_FROM_APK_STATUS_CODES_SUCCESSFUL = 3, | |
| 26 | |
| 27 // End sentinel. | |
| 28 LIBRARY_LOAD_FROM_APK_STATUS_CODES_MAX = 4, | |
| 29 }; | |
| 30 | |
| 31 } // namespace | |
| 32 | |
| 33 } // namespace android | |
| 34 } // namespace base | |
| 35 | |
| 36 #endif // BASE_ANDROID_LIBRARY_LOAD_FROM_APK_STATUS_CODES_H_ | |
| OLD | NEW |