diff options
Diffstat (limited to 'WebCore/platform/network/android/Cookie.cpp')
-rw-r--r-- | WebCore/platform/network/android/Cookie.cpp | 47 |
1 files changed, 23 insertions, 24 deletions
diff --git a/WebCore/platform/network/android/Cookie.cpp b/WebCore/platform/network/android/Cookie.cpp index 29223d4..3d10e4a 100644 --- a/WebCore/platform/network/android/Cookie.cpp +++ b/WebCore/platform/network/android/Cookie.cpp @@ -23,36 +23,35 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#define LOG_TAG "Cookies" - #include "config.h" -#include "JavaSharedClient.h" + #include "CookieClient.h" +#include "JavaSharedClient.h" using namespace android; namespace WebCore { - class Document; - - void setCookies(Document*, const KURL& url, const String& value) - { - if (JavaSharedClient::GetCookieClient()) - JavaSharedClient::GetCookieClient()->setCookies(url, value); - } - - String cookies(const Document* , const KURL& url) - { - if (JavaSharedClient::GetCookieClient()) - return JavaSharedClient::GetCookieClient()->cookies(url); - return String(); - } - - bool cookiesEnabled(const Document* ) - { - if (JavaSharedClient::GetCookieClient()) - return JavaSharedClient::GetCookieClient()->cookiesEnabled(); - return false; - } +class Document; + +void setCookies(Document*, const KURL& url, const String& value) +{ + if (JavaSharedClient::GetCookieClient()) + JavaSharedClient::GetCookieClient()->setCookies(url, value); +} + +String cookies(const Document* , const KURL& url) +{ + if (JavaSharedClient::GetCookieClient()) + return JavaSharedClient::GetCookieClient()->cookies(url); + return String(); +} + +bool cookiesEnabled(const Document* ) +{ + if (JavaSharedClient::GetCookieClient()) + return JavaSharedClient::GetCookieClient()->cookiesEnabled(); + return false; +} } |