From d480cf0075773360fb59bc36da32c6cb17acad74 Mon Sep 17 00:00:00 2001 From: Steve Block Date: Tue, 4 Jan 2011 15:58:40 +0000 Subject: [PATCH] Update a WebCache comment This should have been updated in https://android-git.corp.google.com/g/82475 Change-Id: Ia4dee2458ebeb25bf9dc86a99b6f25f335be72dc --- WebKit/android/WebCoreSupport/WebCache.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WebKit/android/WebCoreSupport/WebCache.h b/WebKit/android/WebCoreSupport/WebCache.h index d04a594ec..d89cba7d7 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 { 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; } -- 2.11.0