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

Unified Diff: components/devtools_bridge/android/javatests/src/org/chromium/components/devtools_bridge/tests/TestApplication.java

Issue 734313002: Switching to native implementation of SessionDependencyFactory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@native-factory-3
Patch Set: Created 6 years, 1 month 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: components/devtools_bridge/android/javatests/src/org/chromium/components/devtools_bridge/tests/TestApplication.java
diff --git a/components/devtools_bridge/android/javatests/src/org/chromium/components/devtools_bridge/tests/TestApplication.java b/components/devtools_bridge/android/javatests/src/org/chromium/components/devtools_bridge/tests/TestApplication.java
new file mode 100644
index 0000000000000000000000000000000000000000..1fa2220616251e9524d9571f7797028a2027c956
--- /dev/null
+++ b/components/devtools_bridge/android/javatests/src/org/chromium/components/devtools_bridge/tests/TestApplication.java
@@ -0,0 +1,20 @@
+// 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.components.devtools_bridge.tests;
+
+import android.app.Application;
+
+import org.chromium.components.devtools_bridge.SessionDependencyFactory;
+import org.chromium.components.devtools_bridge.SessionDependencyFactoryNative;
+
+/**
+ * Performs initialization for DevTools Bridge test APK.
+ */
+public class TestApplication extends Application {
+ static {
+ System.loadLibrary("devtools_bridge_natives_so");
+ SessionDependencyFactory.init(SessionDependencyFactoryNative.class);
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698