Index: content/public/android/javatests/src/org/chromium/content/browser/BrowserStartupControllerTest.java |
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/BrowserStartupControllerTest.java b/content/public/android/javatests/src/org/chromium/content/browser/BrowserStartupControllerTest.java |
index 188aa080dd5bab2e417d3ac6e0c07f64dbcb59c7..b9d9f2639b7f50a5b22ecf055309e20ab683cd2f 100644 |
--- a/content/public/android/javatests/src/org/chromium/content/browser/BrowserStartupControllerTest.java |
+++ b/content/public/android/javatests/src/org/chromium/content/browser/BrowserStartupControllerTest.java |
@@ -9,10 +9,13 @@ import android.test.InstrumentationTestCase; |
import android.test.suitebuilder.annotation.SmallTest; |
import org.chromium.base.ThreadUtils; |
+import org.chromium.base.library_loader.LoaderErrors; |
+import org.chromium.base.library_loader.ProcessInitException; |
import org.chromium.base.test.util.AdvancedMockContext; |
-import org.chromium.content.common.ProcessInitException; |
-import org.chromium.content.common.ResultCodes; |
+/** |
+ * Test of BrowserStartupController |
+ */ |
public class BrowserStartupControllerTest extends InstrumentationTestCase { |
private TestBrowserStartupController mController; |
@@ -26,7 +29,8 @@ public class BrowserStartupControllerTest extends InstrumentationTestCase { |
@Override |
void prepareToStartBrowserProcess(int numRenderers) throws ProcessInitException { |
if (!mLibraryLoadSucceeds) { |
- throw new ProcessInitException(ResultCodes.RESULT_CODE_NATIVE_LIBRARY_LOAD_FAILED); |
+ throw new ProcessInitException( |
+ LoaderErrors.LOADER_ERROR_NATIVE_LIBRARY_LOAD_FAILED); |
} |
} |