Enable WebAudio support on Android/x86.
[chromium-blink-merge.git] / content / renderer / renderer_webcookiejar_impl.h
bloba6451af3509c0ca134c78e13f83c78855e66f7d7
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_RENDERER_RENDERER_WEBCOOKIEJAR_IMPL_H_
6 #define CONTENT_RENDERER_RENDERER_WEBCOOKIEJAR_IMPL_H_
8 // TODO(darin): WebCookieJar.h is missing a WebString.h include!
9 #include "third_party/WebKit/public/platform/WebCookieJar.h"
10 #include "third_party/WebKit/public/platform/WebString.h"
12 namespace content {
13 class RenderViewImpl;
15 class RendererWebCookieJarImpl : public blink::WebCookieJar {
16 public:
17 explicit RendererWebCookieJarImpl(RenderViewImpl* sender)
18 : sender_(sender) {
20 virtual ~RendererWebCookieJarImpl() {}
22 private:
23 // blink::WebCookieJar methods:
24 virtual void setCookie(
25 const blink::WebURL& url, const blink::WebURL& first_party_for_cookies,
26 const blink::WebString& value);
27 virtual blink::WebString cookies(
28 const blink::WebURL& url, const blink::WebURL& first_party_for_cookies);
29 virtual blink::WebString cookieRequestHeaderFieldValue(
30 const blink::WebURL& url, const blink::WebURL& first_party_for_cookies);
31 virtual void rawCookies(
32 const blink::WebURL& url, const blink::WebURL& first_party_for_cookies,
33 blink::WebVector<blink::WebCookie>& cookies);
34 virtual void deleteCookie(
35 const blink::WebURL& url, const blink::WebString& cookie_name);
36 virtual bool cookiesEnabled(
37 const blink::WebURL& url, const blink::WebURL& first_party_for_cookies);
39 RenderViewImpl* sender_;
42 } // namespace content
44 #endif // CONTENT_RENDERER_RENDERER_WEBCOOKIEJAR_IMPL_H_