OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CONTENT_RENDERER_RENDERER_WEBCOOKIEJAR_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDERER_WEBCOOKIEJAR_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDERER_WEBCOOKIEJAR_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDERER_WEBCOOKIEJAR_IMPL_H_ |
7 #pragma once | |
8 | 7 |
9 // TODO(darin): WebCookieJar.h is missing a WebString.h include! | 8 // TODO(darin): WebCookieJar.h is missing a WebString.h include! |
10 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" | 9 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" |
11 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebCookieJar
.h" | 10 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebCookieJar
.h" |
12 | 11 |
13 class RenderViewImpl; | 12 class RenderViewImpl; |
14 | 13 |
15 class RendererWebCookieJarImpl : public WebKit::WebCookieJar { | 14 class RendererWebCookieJarImpl : public WebKit::WebCookieJar { |
16 public: | 15 public: |
17 explicit RendererWebCookieJarImpl(RenderViewImpl* sender) | 16 explicit RendererWebCookieJarImpl(RenderViewImpl* sender) |
(...skipping 15 matching lines...) Expand all Loading... |
33 WebKit::WebVector<WebKit::WebCookie>& cookies); | 32 WebKit::WebVector<WebKit::WebCookie>& cookies); |
34 virtual void deleteCookie( | 33 virtual void deleteCookie( |
35 const WebKit::WebURL& url, const WebKit::WebString& cookie_name); | 34 const WebKit::WebURL& url, const WebKit::WebString& cookie_name); |
36 virtual bool cookiesEnabled( | 35 virtual bool cookiesEnabled( |
37 const WebKit::WebURL& url, const WebKit::WebURL& first_party_for_cookies); | 36 const WebKit::WebURL& url, const WebKit::WebURL& first_party_for_cookies); |
38 | 37 |
39 RenderViewImpl* sender_; | 38 RenderViewImpl* sender_; |
40 }; | 39 }; |
41 | 40 |
42 #endif // CONTENT_RENDERER_RENDERER_WEBCOOKIEJAR_IMPL_H_ | 41 #endif // CONTENT_RENDERER_RENDERER_WEBCOOKIEJAR_IMPL_H_ |
OLD | NEW |