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

Unified Diff: content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestCallbackHelperContainer.java

Issue 464393002: Restructuring WebContents functions from ContentViewCore to WebContents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed C++ variable naming issues. Created 6 years, 4 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
« no previous file with comments | « content/public/android/javatests/src/org/chromium/content/browser/JavaBridgeChildFrameTest.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestCallbackHelperContainer.java
diff --git a/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestCallbackHelperContainer.java b/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestCallbackHelperContainer.java
index 1fb05e7a14fafb05a5bd7434b46409e3e2f3d86f..b1bc80ba9602ff3fa773db9fca4b05f896d86d4e 100644
--- a/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestCallbackHelperContainer.java
+++ b/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestCallbackHelperContainer.java
@@ -7,6 +7,7 @@ package org.chromium.content.browser.test.util;
import org.chromium.base.ThreadUtils;
import org.chromium.content.browser.ContentViewCore;
+import org.chromium.content_public.browser.JavaScriptCallback;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
@@ -109,8 +110,8 @@ public class TestCallbackHelperContainer {
* @param code A JavaScript code to be evaluated.
*/
public void evaluateJavaScript(ContentViewCore contentViewCore, String code) {
- ContentViewCore.JavaScriptCallback callback =
- new ContentViewCore.JavaScriptCallback() {
+ JavaScriptCallback callback =
+ new JavaScriptCallback() {
@Override
public void handleJavaScriptResult(String jsonResult) {
notifyCalled(jsonResult);
« no previous file with comments | « content/public/android/javatests/src/org/chromium/content/browser/JavaBridgeChildFrameTest.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698