Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Side by Side Diff: chrome/renderer/renderer_webcookiejar_impl.h

Issue 6713024: Move the renderer_web* files to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_RENDERER_RENDERER_WEBCOOKIEJAR_IMPL_H_
6 #define CHROME_RENDERER_RENDERER_WEBCOOKIEJAR_IMPL_H_
7 #pragma once
8
9 #include "ipc/ipc_message.h"
10 // TODO(darin): WebCookieJar.h is missing a WebString.h include!
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h"
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCookieJar.h"
13
14 namespace IPC {
15 class SyncMessage;
16 }
17
18 class RendererWebCookieJarImpl : public WebKit::WebCookieJar {
19 public:
20 explicit RendererWebCookieJarImpl(IPC::Message::Sender* sender)
21 : sender_(sender) {
22 }
23 virtual ~RendererWebCookieJarImpl() {}
24
25 private:
26 // WebKit::WebCookieJar methods:
27 virtual void setCookie(
28 const WebKit::WebURL& url, const WebKit::WebURL& first_party_for_cookies,
29 const WebKit::WebString& value);
30 virtual WebKit::WebString cookies(
31 const WebKit::WebURL& url, const WebKit::WebURL& first_party_for_cookies);
32 virtual WebKit::WebString cookieRequestHeaderFieldValue(
33 const WebKit::WebURL& url, const WebKit::WebURL& first_party_for_cookies);
34 virtual void rawCookies(
35 const WebKit::WebURL& url, const WebKit::WebURL& first_party_for_cookies,
36 WebKit::WebVector<WebKit::WebCookie>& cookies);
37 virtual void deleteCookie(
38 const WebKit::WebURL& url, const WebKit::WebString& cookie_name);
39 virtual bool cookiesEnabled(
40 const WebKit::WebURL& url, const WebKit::WebURL& first_party_for_cookies);
41
42 IPC::Message::Sender* sender_;
43 };
44
45 #endif // CHROME_RENDERER_RENDERER_WEBCOOKIEJAR_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/renderer/renderer_webaudiodevice_impl.cc ('k') | chrome/renderer/renderer_webcookiejar_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698