summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/simple_webcookiejar_impl.h
diff options
context:
space:
mode:
authorjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-30 22:35:53 +0000
committerjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-30 22:35:53 +0000
commit6aaecfde3c347086a6085da169d57b0303c3ccd6 (patch)
tree2ca96e9381018da170c7deb118193eda874046c3 /webkit/tools/test_shell/simple_webcookiejar_impl.h
parente522cf7889669bfd5153a2d32ac47246bcee2883 (diff)
downloadchromium_src-6aaecfde3c347086a6085da169d57b0303c3ccd6.zip
chromium_src-6aaecfde3c347086a6085da169d57b0303c3ccd6.tar.gz
chromium_src-6aaecfde3c347086a6085da169d57b0303c3ccd6.tar.bz2
Revert "Move C++ code from webkit/tools/test_shell to webkit/support"
This reverts commit e522cf7889669bfd5153a2d32ac47246bcee2883. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203243 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/simple_webcookiejar_impl.h')
-rw-r--r--webkit/tools/test_shell/simple_webcookiejar_impl.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/simple_webcookiejar_impl.h b/webkit/tools/test_shell/simple_webcookiejar_impl.h
new file mode 100644
index 0000000..93ea5b5
--- /dev/null
+++ b/webkit/tools/test_shell/simple_webcookiejar_impl.h
@@ -0,0 +1,22 @@
+// 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.
+
+#ifndef WEBKIT_TOOLS_TEST_SHELL_SIMPLE_WEBCOOKIEJAR_IMPL_H_
+#define WEBKIT_TOOLS_TEST_SHELL_SIMPLE_WEBCOOKIEJAR_IMPL_H_
+
+// TODO(darin): WebCookieJar.h is missing a WebString.h include!
+#include "third_party/WebKit/public/platform/WebCookieJar.h"
+#include "third_party/WebKit/public/platform/WebString.h"
+
+class SimpleWebCookieJarImpl : public WebKit::WebCookieJar {
+ public:
+ // 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);
+};
+
+#endif // WEBKIT_TOOLS_TEST_SHELL_SIMPLE_WEBCOOKIEJAR_IMPL_H_