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

Unified Diff: components/devtools_bridge/test/android/client/javatests/src/org/chromium/components/devtools_bridge/WebClient.java

Issue 802293002: Revert of Stub for web-base client for DevTools bridge and tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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/test/android/client/javatests/src/org/chromium/components/devtools_bridge/WebClient.java
diff --git a/components/devtools_bridge/test/android/client/javatests/src/org/chromium/components/devtools_bridge/WebClient.java b/components/devtools_bridge/test/android/client/javatests/src/org/chromium/components/devtools_bridge/WebClient.java
deleted file mode 100644
index 896710edd17790b454f05de9343634dae6ec4816..0000000000000000000000000000000000000000
--- a/components/devtools_bridge/test/android/client/javatests/src/org/chromium/components/devtools_bridge/WebClient.java
+++ /dev/null
@@ -1,27 +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.components.devtools_bridge;
-
-import org.chromium.base.JNINamespace;
-import org.chromium.chrome.browser.profiles.Profile;
-
-/**
- * Java wrapper over native WebClient for tests.
- */
-@JNINamespace("devtools_bridge::android")
-public final class WebClient {
- private final long mWebClientPtr;
-
- public WebClient(Profile profile) {
- mWebClientPtr = nativeCreateWebClient(profile);
- }
-
- public void dispose() {
- nativeDestroyWebClient(mWebClientPtr);
- }
-
- private static native long nativeCreateWebClient(Profile profile);
- private static native void nativeDestroyWebClient(long webClientPtr);
-}

Powered by Google App Engine
This is Rietveld 408576698