| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WEBKIT_TOOLS_TEST_SHELL_SIMPLE_WEBCOOKIEJAR_IMPL_H_ | 5 #ifndef WEBKIT_TOOLS_TEST_SHELL_SIMPLE_WEBCOOKIEJAR_IMPL_H_ |
| 6 #define WEBKIT_TOOLS_TEST_SHELL_SIMPLE_WEBCOOKIEJAR_IMPL_H_ | 6 #define WEBKIT_TOOLS_TEST_SHELL_SIMPLE_WEBCOOKIEJAR_IMPL_H_ |
| 7 | 7 |
| 8 // TODO(darin): WebCookieJar.h is missing a WebString.h include! | 8 // TODO(darin): WebCookieJar.h is missing a WebString.h include! |
| 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebCookieJar.h" | 9 #include "third_party/WebKit/public/platform/WebCookieJar.h" |
| 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" | 10 #include "third_party/WebKit/public/platform/WebString.h" |
| 11 | 11 |
| 12 class SimpleWebCookieJarImpl : public WebKit::WebCookieJar { | 12 class SimpleWebCookieJarImpl : public WebKit::WebCookieJar { |
| 13 public: | 13 public: |
| 14 // WebKit::WebCookieJar methods: | 14 // WebKit::WebCookieJar methods: |
| 15 virtual void setCookie( | 15 virtual void setCookie( |
| 16 const WebKit::WebURL& url, const WebKit::WebURL& first_party_for_cookies, | 16 const WebKit::WebURL& url, const WebKit::WebURL& first_party_for_cookies, |
| 17 const WebKit::WebString& cookie); | 17 const WebKit::WebString& cookie); |
| 18 virtual WebKit::WebString cookies( | 18 virtual WebKit::WebString cookies( |
| 19 const WebKit::WebURL& url, const WebKit::WebURL& first_party_for_cookies); | 19 const WebKit::WebURL& url, const WebKit::WebURL& first_party_for_cookies); |
| 20 }; | 20 }; |
| 21 | 21 |
| 22 #endif // WEBKIT_TOOLS_TEST_SHELL_SIMPLE_WEBCOOKIEJAR_IMPL_H_ | 22 #endif // WEBKIT_TOOLS_TEST_SHELL_SIMPLE_WEBCOOKIEJAR_IMPL_H_ |
| OLD | NEW |