summaryrefslogtreecommitdiffstats
path: root/WebKit/android
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2011-01-07 08:03:56 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-01-07 08:03:56 -0800
commitfeb8ec2bfc7689c9573c5b5dd93097495377008c (patch)
tree8513270f45e08d43b343e61a331559e00b3f845e /WebKit/android
parentc9df0ca67d91d0ea87a1646b5cf6da382ce15109 (diff)
parentd480cf0075773360fb59bc36da32c6cb17acad74 (diff)
downloadexternal_webkit-feb8ec2bfc7689c9573c5b5dd93097495377008c.zip
external_webkit-feb8ec2bfc7689c9573c5b5dd93097495377008c.tar.gz
external_webkit-feb8ec2bfc7689c9573c5b5dd93097495377008c.tar.bz2
Merge "Update a WebCache comment" into honeycomb
Diffstat (limited to 'WebKit/android')
-rw-r--r--WebKit/android/WebCoreSupport/WebCache.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/WebKit/android/WebCoreSupport/WebCache.h b/WebKit/android/WebCoreSupport/WebCache.h
index d04a594..d89cba7 100644
--- a/WebKit/android/WebCoreSupport/WebCache.h
+++ b/WebKit/android/WebCoreSupport/WebCache.h
@@ -33,14 +33,14 @@
namespace android {
-// This class is not generally threadsafe. get() is not threadsafe - instances
-// are created on the WebCore thread only.
+// This class is not generally threadsafe. However, get() and cleanup() are
+// threadsafe.
class WebCache : public base::RefCountedThreadSafe<WebCache> {
public:
static WebCache* get(bool isPrivateBrowsing);
+ static void cleanup(bool isPrivateBrowsing);
void clear();
- static void cleanup(bool isPrivateBrowsing);
net::HostResolver* hostResolver() { return m_hostResolver.get(); }
net::HttpCache* cache() { return m_cache.get(); }
net::ProxyConfigServiceAndroid* proxy() { return m_proxyConfigService; }