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 package org.chromium.base.library_loader; 6 7 /** 8 * These are the possible failures from the LibraryLoader 9 */ 10 public class LoaderErrors { 11 public static final int LOADER_ERROR_NORMAL_COMPLETION = 0; 12 public static final int LOADER_ERROR_FAILED_TO_REGISTER_JNI = 1; 13 public static final int LOADER_ERROR_NATIVE_LIBRARY_LOAD_FAILED = 2; 14 public static final int LOADER_ERROR_NATIVE_LIBRARY_WRONG_VERSION = 3; 15 public static final int LOADER_ERROR_NATIVE_STARTUP_FAILED = 4; 16 } 17