summaryrefslogtreecommitdiffstats
path: root/WebKit/android/WebCoreSupport/WebCache.h
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2011-01-04 15:58:40 +0000
committerSteve Block <steveblock@google.com>2011-01-07 15:44:11 +0000
commitd480cf0075773360fb59bc36da32c6cb17acad74 (patch)
tree07c988685f60e4f14cb0525cd8eed32aa77e6689 /WebKit/android/WebCoreSupport/WebCache.h
parent691f420dd0a859196c7dbcd514af42bcc945145c (diff)
downloadexternal_webkit-d480cf0075773360fb59bc36da32c6cb17acad74.zip
external_webkit-d480cf0075773360fb59bc36da32c6cb17acad74.tar.gz
external_webkit-d480cf0075773360fb59bc36da32c6cb17acad74.tar.bz2
Update a WebCache comment
This should have been updated in https://android-git.corp.google.com/g/82475 Change-Id: Ia4dee2458ebeb25bf9dc86a99b6f25f335be72dc
Diffstat (limited to 'WebKit/android/WebCoreSupport/WebCache.h')
-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; }