summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android/WebCoreSupport/WebCache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/android/WebCoreSupport/WebCache.cpp')
-rw-r--r--Source/WebKit/android/WebCoreSupport/WebCache.cpp17
1 files changed, 1 insertions, 16 deletions
diff --git a/Source/WebKit/android/WebCoreSupport/WebCache.cpp b/Source/WebKit/android/WebCoreSupport/WebCache.cpp
index 82e3b27..9b505ee 100644
--- a/Source/WebKit/android/WebCoreSupport/WebCache.cpp
+++ b/Source/WebKit/android/WebCoreSupport/WebCache.cpp
@@ -30,7 +30,7 @@
#include "WebCoreJni.h"
#include "WebRequestContext.h"
#include "WebUrlLoaderClient.h"
-#include "net/http/http_network_session.h"
+
#include <wtf/text/CString.h>
using namespace WTF;
@@ -131,21 +131,6 @@ void WebCache::clear()
thread->message_loop()->PostTask(FROM_HERE, NewRunnableMethod(this, &WebCache::clearImpl));
}
-void WebCache::certTrustChanged()
-{
- base::Thread* thread = WebUrlLoaderClient::ioThread();
- if (thread)
- thread->message_loop()->PostTask(FROM_HERE, NewRunnableMethod(this, &WebCache::certTrustChangedImpl));
-}
-
-void WebCache::certTrustChangedImpl()
-{
- net::HttpNetworkSession* session = m_cache->GetSession();
- if (session)
- session->cert_verifier()->ClearCache();
- m_cache->CloseAllConnections();
-}
-
void WebCache::closeIdleConnections()
{
base::Thread* thread = WebUrlLoaderClient::ioThread();