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

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

Issue 876413007: [Android WebView] Rename ShouldInterceptRequestParams -> AwWebResourceRequest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed glue code Created 5 years, 10 months 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
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 c327c04dfd56b5e402110df6615795cfc8279dc6..454c955d29c4b2eac699e5e02efe61c3c2acf634 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java
@@ -89,7 +89,7 @@ public abstract class AwContentsClient {
/**
* Parameters for the {@link AwContentsClient#shouldInterceptRequest} method.
*/
- public static class ShouldInterceptRequestParams {
+ public static class AwWebResourceRequest {
// Url of the request.
public String url;
// Is this for the main frame or a child iframe?
@@ -109,7 +109,7 @@ public abstract class AwContentsClient {
public abstract void onProgressChanged(int progress);
public abstract AwWebResourceResponse shouldInterceptRequest(
- ShouldInterceptRequestParams params);
+ AwWebResourceRequest request);
public abstract boolean shouldOverrideKeyEvent(KeyEvent event);

Powered by Google App Engine
This is Rietveld 408576698