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

Unified Diff: android_webview/java/src/org/chromium/android_webview/AwContentsClient.java

Issue 1457343002: Instr. test for calling onPageFinished as provisional JS redirect fails (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Mikhail's comments: naming + add onFailedLoad call count. Created 5 years 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 | android_webview/java/src/org/chromium/android_webview/AwWebContentsObserver.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/java/src/org/chromium/android_webview/AwContentsClient.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java b/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java
index 47d0f28fcbfc062b9fd34495ccdc350af712d178..11ad176c467e2fbe44bca6fd5db9b41af318268b 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java
@@ -334,6 +334,9 @@ public abstract class AwContentsClient {
public abstract void onPageCommitVisible(String url);
+ // Only used for testing
mnaganov (inactive) 2015/12/01 16:42:22 nit: After the rename, this comment is not needed
+ public void onFailedLoadForTesting(String url) {}
+
public final void onReceivedError(AwWebResourceRequest request, AwWebResourceError error) {
// Only one of these callbacks actually reaches out the client code. The first callback
// is used on API versions up to and including L, the second on subsequent releases.
« no previous file with comments | « no previous file | android_webview/java/src/org/chromium/android_webview/AwWebContentsObserver.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698