diff options
author | Iain Merrick <husky@google.com> | 2011-01-07 10:50:51 +0000 |
---|---|---|
committer | Iain Merrick <husky@google.com> | 2011-01-20 16:47:02 +0000 |
commit | e777e7663bb6cecc72754dbf56e068f5b6ea30d5 (patch) | |
tree | 9c26dfd1a53a3628db2e556466e9b40e2a2fcbc8 /WebKit/android/WebCoreSupport/WebUrlLoaderClient.h | |
parent | f8833329dde3a45999a9902459abed565896df14 (diff) | |
download | external_webkit-e777e7663bb6cecc72754dbf56e068f5b6ea30d5.zip external_webkit-e777e7663bb6cecc72754dbf56e068f5b6ea30d5.tar.gz external_webkit-e777e7663bb6cecc72754dbf56e068f5b6ea30d5.tar.bz2 |
Report SSL certificates to WebView.
In the Apache HTTP stack, this is done by LoadListener. This CL
plumbs in the same logic for the Chrome HTTP stack. This fixes
the WebViewTest#testAccessCertificate CTS test.
Bug:3242048
Change-Id: I69a4de46ded59bfdebdd391c4731c7c1a79744fb
Diffstat (limited to 'WebKit/android/WebCoreSupport/WebUrlLoaderClient.h')
-rw-r--r-- | WebKit/android/WebCoreSupport/WebUrlLoaderClient.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/WebKit/android/WebCoreSupport/WebUrlLoaderClient.h b/WebKit/android/WebCoreSupport/WebUrlLoaderClient.h index e5a4d8f..4294b95 100644 --- a/WebKit/android/WebCoreSupport/WebUrlLoaderClient.h +++ b/WebKit/android/WebCoreSupport/WebUrlLoaderClient.h @@ -66,7 +66,7 @@ public: WebUrlLoaderClient(WebFrame*, WebCore::ResourceHandle*, const WebCore::ResourceRequest&); // Called from WebCore, will be forwarded to the IO thread - bool start(bool sync, WebRequestContext*); + bool start(bool isMainResource, bool sync, WebRequestContext*); void cancel(); void downloadFile(); void pauseLoad(bool pause) {} // Android method, does nothing for now @@ -103,6 +103,7 @@ private: WebFrame* m_webFrame; RefPtr<WebCore::ResourceHandle> m_resourceHandle; + bool m_isMainResource; bool m_cancelling; bool m_sync; volatile bool m_finished; |