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

Side by Side Diff: android_webview/java/src/org/chromium/android_webview/AwContentsIoThreadClient.java

Issue 2437423002: Move NewLoginRequest plumbing to AwContentsClientBridge (Closed)
Patch Set: Created 4 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.android_webview; 5 package org.chromium.android_webview;
6 6
7 import org.chromium.base.annotations.CalledByNative; 7 import org.chromium.base.annotations.CalledByNative;
8 import org.chromium.base.annotations.JNINamespace; 8 import org.chromium.base.annotations.JNINamespace;
9 9
10 import java.util.HashMap; 10 import java.util.HashMap;
(...skipping 16 matching lines...) Expand all
27 @CalledByNative 27 @CalledByNative
28 public abstract boolean shouldBlockFileUrls(); 28 public abstract boolean shouldBlockFileUrls();
29 29
30 @CalledByNative 30 @CalledByNative
31 public abstract boolean shouldBlockNetworkLoads(); 31 public abstract boolean shouldBlockNetworkLoads();
32 32
33 @CalledByNative 33 @CalledByNative
34 public abstract boolean shouldAcceptThirdPartyCookies(); 34 public abstract boolean shouldAcceptThirdPartyCookies();
35 35
36 @CalledByNative 36 @CalledByNative
37 public abstract void newLoginRequest(String realm, String account, String ar gs);
38
39 @CalledByNative
40 public abstract AwContentsBackgroundThreadClient getBackgroundThreadClient() ; 37 public abstract AwContentsBackgroundThreadClient getBackgroundThreadClient() ;
41 38
42 public abstract void onReceivedError(AwContentsClient.AwWebResourceRequest r equest, 39 public abstract void onReceivedError(AwContentsClient.AwWebResourceRequest r equest,
43 AwContentsClient.AwWebResourceError error); 40 AwContentsClient.AwWebResourceError error);
44 41
45 public abstract void onReceivedHttpError(AwContentsClient.AwWebResourceReque st request, 42 public abstract void onReceivedHttpError(AwContentsClient.AwWebResourceReque st request,
46 AwWebResourceResponse response); 43 AwWebResourceResponse response);
47 44
48 // Protected methods ------------------------------------------------------- -------------------- 45 // Protected methods ------------------------------------------------------- --------------------
49 46
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 currentValue += ", "; 98 currentValue += ", ";
102 } 99 }
103 responseHeaders.put(responseHeaderNames[i], currentValue + respo nseHeaderValues[i]); 100 responseHeaders.put(responseHeaderNames[i], currentValue + respo nseHeaderValues[i]);
104 } 101 }
105 } 102 }
106 AwWebResourceResponse response = new AwWebResourceResponse( 103 AwWebResourceResponse response = new AwWebResourceResponse(
107 mimeType, encoding, null, statusCode, reasonPhrase, responseHead ers); 104 mimeType, encoding, null, statusCode, reasonPhrase, responseHead ers);
108 onReceivedHttpError(request, response); 105 onReceivedHttpError(request, response);
109 } 106 }
110 } 107 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698