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

Unified Diff: content/public/android/java/src/org/chromium/content/common/ProcessInitException.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: content/public/android/java/src/org/chromium/content/common/ProcessInitException.java
diff --git a/content/public/android/java/src/org/chromium/content/common/ProcessInitException.java b/content/public/android/java/src/org/chromium/content/common/ProcessInitException.java
deleted file mode 100644
index 0ebbb17ed5f5ac45964cb4e382021681d5252674..0000000000000000000000000000000000000000
--- a/content/public/android/java/src/org/chromium/content/common/ProcessInitException.java
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2013 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;
-
-/**
- * The exception that is thrown when the intialization of a process was failed.
- */
-public class ProcessInitException extends Exception {
- private int mErrorCode = 0;
-
- /**
- * @param errorCode The error code could be one from content/public/common/result_codes.h
- * or embedder.
- */
- public ProcessInitException(int errorCode) {
- mErrorCode = errorCode;
- }
-
- /**
- * @param errorCode The error code could be one from content/public/common/result_codes.h
- * or embedder.
- * @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