Revert revision 536 changes: Add CefCookieManager interface and CefRequestHandler::GetCookieManager for custom cookie handling (issue #542).

git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/963@539 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2012-03-21 16:12:31 +00:00
parent 6a23cfd5c6
commit 1d54b2de7d
23 changed files with 757 additions and 1516 deletions

View File

@@ -496,7 +496,7 @@ bool BrowserWebViewDelegate::allowScriptExtension(
// WebPluginPageDelegate -----------------------------------------------------
WebCookieJar* BrowserWebViewDelegate::GetCookieJar() {
return &cookie_jar_;
return WebKit::webKitPlatformSupport()->cookieJar();
}
// WebWidgetClient -----------------------------------------------------------
@@ -675,10 +675,6 @@ WebApplicationCacheHost* BrowserWebViewDelegate::createApplicationCacheHost(
return BrowserAppCacheSystem::CreateApplicationCacheHost(client);
}
WebKit::WebCookieJar* BrowserWebViewDelegate::cookieJar(WebFrame* frame) {
return &cookie_jar_;
}
void BrowserWebViewDelegate::willClose(WebFrame* frame) {
browser_->UIT_BeforeFrameClosed(frame);
}
@@ -998,8 +994,7 @@ BrowserWebViewDelegate::BrowserWebViewDelegate(CefBrowserImpl* browser)
#else
select_trailing_whitespace_enabled_(false),
#endif
block_redirects_(false),
cookie_jar_(browser) {
block_redirects_(false) {
}
BrowserWebViewDelegate::~BrowserWebViewDelegate() {