summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android/WebCoreSupport/WebCache.h
diff options
context:
space:
mode:
authorKristian Monsen <kristianm@google.com>2011-09-01 20:30:10 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-09-01 20:30:10 -0700
commit903ede82b6a07ee55e85df1fd67d104ca4260a0c (patch)
tree0dfd6a7d3d5c9d8669595d90df574a1dbe939b85 /Source/WebKit/android/WebCoreSupport/WebCache.h
parentb53cff5eb9dbb10169c8adae7692c91d0a807ed9 (diff)
parent76859bf6d78119b2bf4fe2aa2c2a4761fa90503c (diff)
downloadexternal_webkit-903ede82b6a07ee55e85df1fd67d104ca4260a0c.zip
external_webkit-903ede82b6a07ee55e85df1fd67d104ca4260a0c.tar.gz
external_webkit-903ede82b6a07ee55e85df1fd67d104ca4260a0c.tar.bz2
Merge "Closing idle connections, including jni interface"
Diffstat (limited to 'Source/WebKit/android/WebCoreSupport/WebCache.h')
-rw-r--r--Source/WebKit/android/WebCoreSupport/WebCache.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/WebKit/android/WebCoreSupport/WebCache.h b/Source/WebKit/android/WebCoreSupport/WebCache.h
index 7149fcc..c3b623d 100644
--- a/Source/WebKit/android/WebCoreSupport/WebCache.h
+++ b/Source/WebKit/android/WebCoreSupport/WebCache.h
@@ -47,6 +47,8 @@ public:
net::HostResolver* hostResolver() { return m_hostResolver.get(); }
net::HttpCache* cache() { return m_cache.get(); }
net::ProxyConfigServiceAndroid* proxy() { return m_proxyConfigService; }
+ void closeIdleConnections();
+
private:
WebCache(bool isPrivateBrowsing);
@@ -56,6 +58,9 @@ private:
void doomAllEntries(int);
void onClearDone(int);
+ // For closeIdleConnections
+ void closeIdleImpl();
+
// For getEntry()
void getEntryImpl();
void openEntry(int);