Sha256: 72aae695cca53618da5d1bbc8c2b56fe8b1de04636e9988174bd9d4474d6cd7c

Contents?: true

Size: 383 Bytes

Versions: 4

Compression:

Stored size: 383 Bytes

Contents

#include "ClearCookies.h"
#include "WebPage.h"
#include "WebPageManager.h"
#include "NetworkCookieJar.h"
#include <QNetworkCookie>

ClearCookies::ClearCookies(WebPageManager *manager, QStringList &arguments, QObject *parent) : SocketCommand(manager, arguments, parent) {}

void ClearCookies::start()
{
  manager()->cookieJar()->clearCookies();
  emit finished(new Response(true));
}

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
capybara-webkit-0.13.2 src/ClearCookies.cpp
capybara-webkit-0.13.1 src/ClearCookies.cpp
capybara-webkit-0.13.0 src/ClearCookies.cpp
otherinbox-capybara-webkit-0.12.0.1 src/ClearCookies.cpp