Searched refs:isPrivateBrowsing (Results 1 – 7 of 7) sorted by relevance
63 static scoped_refptr<WebCache>* instance(bool isPrivateBrowsing) in instance() argument67 return isPrivateBrowsing ? &privateInstance : ®ularInstance; in instance()70 WebCache* WebCache::get(bool isPrivateBrowsing) in get() argument73 scoped_refptr<WebCache>* instancePtr = instance(isPrivateBrowsing); in get()75 *instancePtr = new WebCache(isPrivateBrowsing); in get()79 void WebCache::cleanup(bool isPrivateBrowsing) in cleanup() argument82 scoped_refptr<WebCache>* instancePtr = instance(isPrivateBrowsing); in cleanup()86 WebCache::WebCache(bool isPrivateBrowsing) in WebCache() argument103 if (isPrivateBrowsing) in WebCache()
91 static std::string databaseDirectory(bool isPrivateBrowsing) in databaseDirectory() argument97 … databaseFilePath.append(isPrivateBrowsing ? kDatabaseFilenamePrivateBrowsing : kDatabaseFilename); in databaseDirectory()101 static scoped_refptr<WebCookieJar>* instance(bool isPrivateBrowsing) in instance() argument105 return isPrivateBrowsing ? &privateInstance : ®ularInstance; in instance()108 WebCookieJar* WebCookieJar::get(bool isPrivateBrowsing) in get() argument114 scoped_refptr<WebCookieJar>* instancePtr = instance(isPrivateBrowsing); in get()116 *instancePtr = new WebCookieJar(databaseDirectory(isPrivateBrowsing)); in get()120 void WebCookieJar::cleanup(bool isPrivateBrowsing) in cleanup() argument124 scoped_refptr<WebCookieJar>* instancePtr = instance(isPrivateBrowsing); in cleanup()126 removeFileOrDirectory(databaseDirectory(isPrivateBrowsing).c_str()); in cleanup()
81 bool isPrivateBrowsing = document->settings() && document->settings()->privateBrowsingEnabled(); in setCookies() local82 WebCookieJar* cookieJar = WebCookieJar::get(isPrivateBrowsing); in setCookies()90 bool isPrivateBrowsing = document->settings() && document->settings()->privateBrowsingEnabled(); in cookies() local91 WebCookieJar* cookieJar = WebCookieJar::get(isPrivateBrowsing); in cookies()102 bool isPrivateBrowsing = document->settings() && document->settings()->privateBrowsingEnabled(); in cookiesEnabled() local103 return WebCookieJar::get(isPrivateBrowsing)->allowCookies(); in cookiesEnabled()
42 static WebCache* get(bool isPrivateBrowsing);43 static void cleanup(bool isPrivateBrowsing);54 WebCache(bool isPrivateBrowsing);
39 static WebCookieJar* get(bool isPrivateBrowsing);40 static void cleanup(bool isPrivateBrowsing);
48 WebRequestContext::WebRequestContext(bool isPrivateBrowsing) in WebRequestContext() argument49 : m_isPrivateBrowsing(isPrivateBrowsing) in WebRequestContext()
43 WebRequestContext(bool isPrivateBrowsing);