mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Revert revision 535 changes: Add CefCookieManager interface and CefRequestHandler::GetCookieManager for custom cookie handling (issue #542).
git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/1025@540 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -1,5 +1,4 @@
|
||||
// Copyright (c) 2012 the Chromium Embedded Framework authors.
|
||||
// Portions copyright (c) 2010 The Chromium Authors. All rights reserved.
|
||||
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
@ -7,25 +6,18 @@
|
||||
#define CEF_LIBCEF_BROWSER_WEBCOOKIEJAR_IMPL_H_
|
||||
#pragma once
|
||||
|
||||
// TODO(darin): WebCookieJar.h is missing a WebString.h include!
|
||||
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h"
|
||||
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebCookieJar.h"
|
||||
|
||||
class CefBrowserImpl;
|
||||
|
||||
class BrowserWebCookieJarImpl : public WebKit::WebCookieJar {
|
||||
public:
|
||||
BrowserWebCookieJarImpl();
|
||||
explicit BrowserWebCookieJarImpl(CefBrowserImpl* browser);
|
||||
|
||||
// WebKit::WebCookieJar methods:
|
||||
virtual void setCookie(
|
||||
const WebKit::WebURL& url, const WebKit::WebURL& first_party_for_cookies,
|
||||
const WebKit::WebString& cookie);
|
||||
virtual WebKit::WebString cookies(
|
||||
const WebKit::WebURL& url, const WebKit::WebURL& first_party_for_cookies);
|
||||
|
||||
private:
|
||||
// May be NULL for the global implementation.
|
||||
CefBrowserImpl* browser_;
|
||||
};
|
||||
|
||||
#endif // CEF_LIBCEF_BROWSER_WEBCOOKIEJAR_IMPL_H_
|
||||
|
Reference in New Issue
Block a user