Searched refs:extraHeaders (Results 1 – 9 of 9) sorted by relevance
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/ |
D | LoadUrlTest.java | 89 final Map<String, String> extraHeaders) throws Throwable { in loadUrlWithExtraHeadersSync() argument 95 params.setExtraHeaders(extraHeaders); in loadUrlWithExtraHeadersSync() 156 String[] extraHeaders = { in testLoadUrlWithExtraHeaders() local 164 createHeadersMap(extraHeaders)); in testLoadUrlWithExtraHeaders() 165 validateRequestHeaders(extraHeaders, webServer.getLastRequest(path)); in testLoadUrlWithExtraHeaders() 167 validateNoRequestHeaders(extraHeaders, webServer.getLastRequest(imagePath)); in testLoadUrlWithExtraHeaders() 189 String[] extraHeaders = { in testNoOverridingOfExistingHeaders() local 196 createHeadersMap(extraHeaders)); in testNoOverridingOfExistingHeaders() 197 Header[] matchingHeaders = webServer.getLastRequest(path).getHeaders(extraHeaders[0]); in testNoOverridingOfExistingHeaders() 200 assertEquals(extraHeaders[0].toLowerCase(Locale.ENGLISH), in testNoOverridingOfExistingHeaders() [all …]
|
D | AwContentsTest.java | 445 final Map<String, String> extraHeaders = new HashMap<String, String>(); in testCanInjectHeaders() local 446 extraHeaders.put("Referer", "foo"); in testCanInjectHeaders() 447 extraHeaders.put("X-foo", "bar"); in testCanInjectHeaders() 449 webServer.getResponseUrl(pagePath), extraHeaders); in testCanInjectHeaders() 456 for (Map.Entry<String, String> value : extraHeaders.entrySet()) { in testCanInjectHeaders()
|
D | AwTestBase.java | 114 final Map<String, String> extraHeaders) throws Exception { in loadUrlSync() argument 116 loadUrlAsync(awContents, url, extraHeaders); in loadUrlSync() 144 final Map<String, String> extraHeaders) { in loadUrlAsync() argument 149 params.setExtraHeaders(extraHeaders); in loadUrlAsync()
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
D | LoadUrlParams.java | 244 public void setExtraHeaders(Map<String, String> extraHeaders) { in setExtraHeaders() argument 245 mExtraHeaders = extraHeaders; in setExtraHeaders()
|
D | ContentViewCore.java | 3247 String extraHeaders,
|
/external/chromium_org/components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ |
D | WebContentsDelegateAndroid.java | 56 public void openNewTab(String url, String extraHeaders, byte[] postData, int disposition, in openNewTab() argument
|
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
D | AwContents.java | 1075 Map<String, String> extraHeaders = params.getExtraHeaders(); in loadUrl() local 1076 if (extraHeaders != null) { in loadUrl() 1077 for (String header : extraHeaders.keySet()) { in loadUrl() 1079 params.setReferrer(new Referrer(extraHeaders.remove(header), 1)); in loadUrl() 1080 params.setExtraHeaders(extraHeaders); in loadUrl() 2507 String url, String extraHeaders);
|
D | AwWebContentsDelegateAdapter.java | 126 public void openNewTab(String url, String extraHeaders, byte[] postData, int disposition, in openNewTab() argument
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/ |
D | Tab.java | 1152 private native int nativeLoadUrl(long nativeTabAndroid, String url, String extraHeaders, in nativeLoadUrl() argument
|