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

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

Issue 11280239: Subclassable TestCallbackHelperContainer constructor for tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 | « no previous file | 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 5d52a4fea64ec948415b2e7295b739f97b36f21f..cb3fcb75e4594716bcb77cc9358e85b760aa9778 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
@@ -20,6 +20,12 @@ public class TestCallbackHelperContainer {
mTestWebContentsObserver = new TestWebContentsObserver(contentView.getContentViewCore());
}
+ protected TestCallbackHelperContainer(
+ TestContentViewClient viewClient, TestWebContentsObserver contentsObserver) {
+ mTestContentViewClient = viewClient;
+ mTestWebContentsObserver = contentsObserver;
+ }
+
public static class OnPageFinishedHelper extends CallbackHelper {
private String mUrl;
public void notifyCalled(String url) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698