Index: content/public/android/javatests/src/org/chromium/content/browser/util/TestContentViewClient.java |
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/util/TestContentViewClient.java b/content/public/android/javatests/src/org/chromium/content/browser/util/TestContentViewClient.java |
index d33c8c3b1334920165c28c83443b84f8e232c292..4bfec428d79a807104910a3aa5c4c0777fe0c874 100644 |
--- a/content/public/android/javatests/src/org/chromium/content/browser/util/TestContentViewClient.java |
+++ b/content/public/android/javatests/src/org/chromium/content/browser/util/TestContentViewClient.java |
@@ -19,30 +19,12 @@ import org.chromium.content.browser.util.TestCallbackHelperContainer.OnReceivedE |
*/ |
public class TestContentViewClient extends ContentViewClient { |
- private OnPageStartedHelper mOnPageStartedHelper; |
- private OnPageFinishedHelper mOnPageFinishedHelper; |
- private OnReceivedErrorHelper mOnReceivedErrorHelper; |
private OnEvaluateJavaScriptResultHelper mOnEvaluateJavaScriptResultHelper; |
public TestContentViewClient() { |
- mOnPageStartedHelper = new OnPageStartedHelper(); |
- mOnPageFinishedHelper = new OnPageFinishedHelper(); |
- mOnReceivedErrorHelper = new OnReceivedErrorHelper(); |
mOnEvaluateJavaScriptResultHelper = new OnEvaluateJavaScriptResultHelper(); |
} |
- public OnPageStartedHelper getOnPageStartedHelper() { |
- return mOnPageStartedHelper; |
- } |
- |
- public OnPageFinishedHelper getOnPageFinishedHelper() { |
- return mOnPageFinishedHelper; |
- } |
- |
- public OnReceivedErrorHelper getOnReceivedErrorHelper() { |
- return mOnReceivedErrorHelper; |
- } |
- |
public OnEvaluateJavaScriptResultHelper getOnEvaluateJavaScriptResultHelper() { |
return mOnEvaluateJavaScriptResultHelper; |
} |
@@ -54,24 +36,6 @@ public class TestContentViewClient extends ContentViewClient { |
* stop working! |
*/ |
@Override |
- public void onPageStarted(String url) { |
- super.onPageStarted(url); |
- mOnPageStartedHelper.notifyCalled(url); |
- } |
- |
- @Override |
- public void onPageFinished(String url) { |
- super.onPageFinished(url); |
- mOnPageFinishedHelper.notifyCalled(url); |
- } |
- |
- @Override |
- public void onReceivedError(int errorCode, String description, String failingUrl) { |
- super.onReceivedError(errorCode, description, failingUrl); |
- mOnReceivedErrorHelper.notifyCalled(errorCode, description, failingUrl); |
- } |
- |
- @Override |
public void onEvaluateJavaScriptResult(int id, String jsonResult) { |
super.onEvaluateJavaScriptResult(id, jsonResult); |
mOnEvaluateJavaScriptResultHelper.notifyCalled(id, jsonResult); |