diff options
author | Steve Block <steveblock@google.com> | 2011-01-07 08:03:56 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-01-07 08:03:56 -0800 |
commit | feb8ec2bfc7689c9573c5b5dd93097495377008c (patch) | |
tree | 8513270f45e08d43b343e61a331559e00b3f845e /WebKit/android | |
parent | c9df0ca67d91d0ea87a1646b5cf6da382ce15109 (diff) | |
parent | d480cf0075773360fb59bc36da32c6cb17acad74 (diff) | |
download | external_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.h | 6 |
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; } |