Home
last modified time | relevance | path

Searched refs:isPrivateBrowsing (Results 1 – 7 of 7) sorted by relevance

/external/webkit/Source/WebKit/android/WebCoreSupport/
DWebCache.cpp63 static scoped_refptr<WebCache>* instance(bool isPrivateBrowsing) in instance() argument
67 return isPrivateBrowsing ? &privateInstance : &regularInstance; in instance()
70 WebCache* WebCache::get(bool isPrivateBrowsing) in get() argument
73 scoped_refptr<WebCache>* instancePtr = instance(isPrivateBrowsing); in get()
75 *instancePtr = new WebCache(isPrivateBrowsing); in get()
79 void WebCache::cleanup(bool isPrivateBrowsing) in cleanup() argument
82 scoped_refptr<WebCache>* instancePtr = instance(isPrivateBrowsing); in cleanup()
86 WebCache::WebCache(bool isPrivateBrowsing) in WebCache() argument
103 if (isPrivateBrowsing) in WebCache()
DWebCookieJar.cpp91 static std::string databaseDirectory(bool isPrivateBrowsing) in databaseDirectory() argument
97 … databaseFilePath.append(isPrivateBrowsing ? kDatabaseFilenamePrivateBrowsing : kDatabaseFilename); in databaseDirectory()
101 static scoped_refptr<WebCookieJar>* instance(bool isPrivateBrowsing) in instance() argument
105 return isPrivateBrowsing ? &privateInstance : &regularInstance; in instance()
108 WebCookieJar* WebCookieJar::get(bool isPrivateBrowsing) in get() argument
114 scoped_refptr<WebCookieJar>* instancePtr = instance(isPrivateBrowsing); in get()
116 *instancePtr = new WebCookieJar(databaseDirectory(isPrivateBrowsing)); in get()
120 void WebCookieJar::cleanup(bool isPrivateBrowsing) in cleanup() argument
124 scoped_refptr<WebCookieJar>* instancePtr = instance(isPrivateBrowsing); in cleanup()
126 removeFileOrDirectory(databaseDirectory(isPrivateBrowsing).c_str()); in cleanup()
DPlatformBridge.cpp81 bool isPrivateBrowsing = document->settings() && document->settings()->privateBrowsingEnabled(); in setCookies() local
82 WebCookieJar* cookieJar = WebCookieJar::get(isPrivateBrowsing); in setCookies()
90 bool isPrivateBrowsing = document->settings() && document->settings()->privateBrowsingEnabled(); in cookies() local
91 WebCookieJar* cookieJar = WebCookieJar::get(isPrivateBrowsing); in cookies()
102 bool isPrivateBrowsing = document->settings() && document->settings()->privateBrowsingEnabled(); in cookiesEnabled() local
103 return WebCookieJar::get(isPrivateBrowsing)->allowCookies(); in cookiesEnabled()
DWebCache.h42 static WebCache* get(bool isPrivateBrowsing);
43 static void cleanup(bool isPrivateBrowsing);
54 WebCache(bool isPrivateBrowsing);
DWebCookieJar.h39 static WebCookieJar* get(bool isPrivateBrowsing);
40 static void cleanup(bool isPrivateBrowsing);
DWebRequestContext.cpp48 WebRequestContext::WebRequestContext(bool isPrivateBrowsing) in WebRequestContext() argument
49 : m_isPrivateBrowsing(isPrivateBrowsing) in WebRequestContext()
DWebRequestContext.h43 WebRequestContext(bool isPrivateBrowsing);