summaryrefslogtreecommitdiffstats
path: root/WebKit/android/WebCoreSupport/WebRequestContext.cpp
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2011-02-25 10:34:46 -0500
committerDerek Sollenberger <djsollen@google.com>2011-02-25 16:55:57 -0500
commit2ba37aad78022aacc4d5eca0063532222ed6b444 (patch)
treea261d0614f31dd624be5a772ee1f3f706286641c /WebKit/android/WebCoreSupport/WebRequestContext.cpp
parent3a89d2677bb5634df98cd01414220b8e095f58a9 (diff)
downloadexternal_webkit-2ba37aad78022aacc4d5eca0063532222ed6b444.zip
external_webkit-2ba37aad78022aacc4d5eca0063532222ed6b444.tar.gz
external_webkit-2ba37aad78022aacc4d5eca0063532222ed6b444.tar.bz2
Add support for plugins to use incognito mode.
bug: 2968415 Change-Id: Ie67c9f6b28a81d4a65f39bde2896078d7b49b8ee
Diffstat (limited to 'WebKit/android/WebCoreSupport/WebRequestContext.cpp')
-rw-r--r--WebKit/android/WebCoreSupport/WebRequestContext.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/WebKit/android/WebCoreSupport/WebRequestContext.cpp b/WebKit/android/WebCoreSupport/WebRequestContext.cpp
index 341a23c..78c3501 100644
--- a/WebKit/android/WebCoreSupport/WebRequestContext.cpp
+++ b/WebKit/android/WebCoreSupport/WebRequestContext.cpp
@@ -39,6 +39,8 @@ static WTF::Mutex acceptLanguageMutex;
static int numPrivateBrowsingInstances;
+extern void ANPSystemInterface_CleanupIncognito();
+
using namespace WTF;
namespace android {
@@ -79,6 +81,7 @@ WebRequestContext::~WebRequestContext()
if (!numPrivateBrowsingInstances) {
WebCookieJar::cleanup(true);
WebCache::cleanup(true);
+ ANPSystemInterface_CleanupIncognito();
}
}
}