Index: android_webview/javatests/src/org/chromium/android_webview/test/TestAwContentsClient.java |
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/TestAwContentsClient.java b/android_webview/javatests/src/org/chromium/android_webview/test/TestAwContentsClient.java |
index 66b5f62520b7b62ea9f0a58cb53b7fec71afb5c3..12c1f14cb0f2e790340b3284de58418549934751 100644 |
--- a/android_webview/javatests/src/org/chromium/android_webview/test/TestAwContentsClient.java |
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/TestAwContentsClient.java |
@@ -7,19 +7,19 @@ package org.chromium.android_webview.test; |
import android.webkit.ConsoleMessage; |
import org.chromium.content.browser.test.util.CallbackHelper; |
-import org.chromium.content.browser.test.util.TestCallbackHelperContainer.OnPageStartedHelper; |
+import org.chromium.content.browser.test.util.TestCallbackHelperContainer.OnEvaluateJavaScriptResultHelper; |
import org.chromium.content.browser.test.util.TestCallbackHelperContainer.OnPageFinishedHelper; |
+import org.chromium.content.browser.test.util.TestCallbackHelperContainer.OnPageStartedHelper; |
import org.chromium.content.browser.test.util.TestCallbackHelperContainer.OnReceivedErrorHelper; |
-import org.chromium.content.browser.test.util.TestCallbackHelperContainer.OnEvaluateJavaScriptResultHelper; |
class TestAwContentsClient extends NullContentsClient { |
private String mUpdatedTitle; |
- private OnPageStartedHelper mOnPageStartedHelper; |
- private OnPageFinishedHelper mOnPageFinishedHelper; |
- private OnReceivedErrorHelper mOnReceivedErrorHelper; |
- private OnEvaluateJavaScriptResultHelper mOnEvaluateJavaScriptResultHelper; |
- private AddMessageToConsoleHelper mAddMessageToConsoleHelper; |
- private OnScaleChangedHelper mOnScaleChangedHelper; |
+ private final OnPageStartedHelper mOnPageStartedHelper; |
+ private final OnPageFinishedHelper mOnPageFinishedHelper; |
+ private final OnReceivedErrorHelper mOnReceivedErrorHelper; |
+ private final OnEvaluateJavaScriptResultHelper mOnEvaluateJavaScriptResultHelper; |
+ private final AddMessageToConsoleHelper mAddMessageToConsoleHelper; |
+ private final OnScaleChangedHelper mOnScaleChangedHelper; |
public TestAwContentsClient() { |
mOnPageStartedHelper = new OnPageStartedHelper(); |
@@ -99,7 +99,7 @@ class TestAwContentsClient extends NullContentsClient { |
return false; |
} |
- public class AddMessageToConsoleHelper extends CallbackHelper { |
+ public static class AddMessageToConsoleHelper extends CallbackHelper { |
private int mLevel; |
private String mMessage; |
private int mLineNumber; |