blob: 21f40bca282f1a2dd0e39e2f6f180dcb617220db [file] [log] [blame]
// 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,
// 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,
// The Chromium library was successfully loaded directly from the APK file.
LIBRARY_LOAD_FROM_APK_STATUS_CODES_SUCCESSFUL = 3,
// The Chromium library was not page aligned in the APK file.
LIBRARY_LOAD_FROM_APK_STATUS_CODES_NOT_ALIGNED = 4,
// End sentinel.
LIBRARY_LOAD_FROM_APK_STATUS_CODES_MAX = 5,
};
} // namespace
} // namespace android
} // namespace base
#endif // BASE_ANDROID_LIBRARY_LOAD_FROM_APK_STATUS_CODES_H_