diff options
| author | Selim Gurun <sgurun@google.com> | 2012-02-15 18:59:17 -0800 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-02-15 18:59:17 -0800 |
| commit | 622f6585dfd456dce5ffbf693d3c6601e40e9042 (patch) | |
| tree | a138f078f382281b0ae4e50d0b1639aa1976b0ec /Source/WebKit/android/WebCoreSupport | |
| parent | da43c48a8a46092ef12e8cbabdaecc30b677342c (diff) | |
| parent | d7712e41feaa225f656b1a41d58dd57d5fae884f (diff) | |
| download | external_webkit-622f6585dfd456dce5ffbf693d3c6601e40e9042.zip external_webkit-622f6585dfd456dce5ffbf693d3c6601e40e9042.tar.gz external_webkit-622f6585dfd456dce5ffbf693d3c6601e40e9042.tar.bz2 | |
Merge "Revert "Clean cached trust state on system storage update.""
Diffstat (limited to 'Source/WebKit/android/WebCoreSupport')
| -rw-r--r-- | Source/WebKit/android/WebCoreSupport/WebCache.cpp | 17 | ||||
| -rw-r--r-- | Source/WebKit/android/WebCoreSupport/WebCache.h | 3 |
2 files changed, 2 insertions, 18 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(); diff --git a/Source/WebKit/android/WebCoreSupport/WebCache.h b/Source/WebKit/android/WebCoreSupport/WebCache.h index ad57d88..c3b623d 100644 --- a/Source/WebKit/android/WebCoreSupport/WebCache.h +++ b/Source/WebKit/android/WebCoreSupport/WebCache.h @@ -48,7 +48,7 @@ public: net::HttpCache* cache() { return m_cache.get(); } net::ProxyConfigServiceAndroid* proxy() { return m_proxyConfigService; } void closeIdleConnections(); - void certTrustChanged(); + private: WebCache(bool isPrivateBrowsing); @@ -60,7 +60,6 @@ private: // For closeIdleConnections void closeIdleImpl(); - void certTrustChangedImpl(); // For getEntry() void getEntryImpl(); |
