Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(201)

Unified Diff: base/android/java/src/org/chromium/base/library_loader/LoaderErrors.java

Issue 141223002: Move the android library loader from content to base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix final nits Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/android/java/src/org/chromium/base/library_loader/LoaderErrors.java
diff --git a/base/android/java/src/org/chromium/base/library_loader/LoaderErrors.java b/base/android/java/src/org/chromium/base/library_loader/LoaderErrors.java
new file mode 100644
index 0000000000000000000000000000000000000000..31339536e1f7ff62f92ae7f471cee21059110a1f
--- /dev/null
+++ b/base/android/java/src/org/chromium/base/library_loader/LoaderErrors.java
@@ -0,0 +1,21 @@
+// 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.
+
+package org.chromium.base.library_loader;
+
+/**
+ * These are the possible failures from the LibraryLoader
+ */
+public class LoaderErrors {
+ // TODO(aberent) These were originally in content/common/result_codes_list.h
+ // although they are never used on the c++ side, or in places where they
+ // could be confused with other result codes. A copy must remain there, and the
+ // values must be identical, until the downstream patch to use this new class
+ // lands.
+ public static final int LOADER_ERROR_NORMAL_COMPLETION = 0;
+ public static final int LOADER_ERROR_FAILED_TO_REGISTER_JNI = 4;
+ public static final int LOADER_ERROR_NATIVE_LIBRARY_LOAD_FAILED = 5;
+ public static final int LOADER_ERROR_NATIVE_LIBRARY_WRONG_VERSION = 6;
+ public static final int LOADER_ERROR_NATIVE_STARTUP_FAILED = 7;
+}

Powered by Google App Engine
This is Rietveld 408576698