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

Unified Diff: base/android/java/src/org/chromium/content/common/ProcessInitException.java

Issue 152663002: Remove shim classes etc. that were needed to move Android Loader (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@moveLibraryLoader
Patch Set: Rebase to landed versions of predecessor CLs. 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/content/common/ProcessInitException.java
diff --git a/base/android/java/src/org/chromium/content/common/ProcessInitException.java b/base/android/java/src/org/chromium/content/common/ProcessInitException.java
deleted file mode 100644
index 33c7a30bdce3b34bcb2375793727760232cca9d0..0000000000000000000000000000000000000000
--- a/base/android/java/src/org/chromium/content/common/ProcessInitException.java
+++ /dev/null
@@ -1,41 +0,0 @@
-// 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.content.common;
-
-import org.chromium.base.library_loader.LoaderErrors;
-
-/**
- * The exception that is thrown when the intialization of a process was failed.
- * TODO(aberent) Remove this once the downstream patch lands, and move this code to base.
- * In advance of its deletion this has been moved into the base directory structure, to
- * allow org.chromium.base.library_loader.ProcessInitException to derive from it. This
- * will go away as soon as the downstream patch lands.
- */
-public class ProcessInitException extends Exception {
- private int mErrorCode = LoaderErrors.LOADER_ERROR_NORMAL_COMPLETION;
-
- /**
- * @param errorCode This will be one of the LoaderErrors error codes.
- */
- public ProcessInitException(int errorCode) {
- mErrorCode = errorCode;
- }
-
- /**
- * @param errorCode This will be one of the LoaderErrors error codes.
- * @param throwable The wrapped throwable obj.
- */
- public ProcessInitException(int errorCode, Throwable throwable) {
- super(null, throwable);
- mErrorCode = errorCode;
- }
-
- /**
- * Return the error code.
- */
- public int getErrorCode() {
- return mErrorCode;
- }
-}

Powered by Google App Engine
This is Rietveld 408576698