Commit 3786bdb6 authored by aruslan@chromium.org's avatar aruslan@chromium.org

Subclassable TestCallbackHelperContainer constructor for tests.

BUG=161941
TEST=No visible functionality changes.


Review URL: https://chromiumcodereview.appspot.com/11280239

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170455 0039d316-1c4b-4281-b951-d872f2087c98
parent 8a3d9cea
...@@ -23,6 +23,12 @@ public class TestCallbackHelperContainer { ...@@ -23,6 +23,12 @@ public class TestCallbackHelperContainer {
mTestWebContentsObserver = new TestWebContentsObserver(contentView.getContentViewCore()); mTestWebContentsObserver = new TestWebContentsObserver(contentView.getContentViewCore());
} }
protected TestCallbackHelperContainer(
TestContentViewClient viewClient, TestWebContentsObserver contentsObserver) {
mTestContentViewClient = viewClient;
mTestWebContentsObserver = contentsObserver;
}
public static class OnPageFinishedHelper extends CallbackHelper { public static class OnPageFinishedHelper extends CallbackHelper {
private String mUrl; private String mUrl;
public void notifyCalled(String url) { public void notifyCalled(String url) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment