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

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

Issue 1082623002: Remove GetRawCookies and DeleteCookie implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « content/content_common.gypi ('k') | content/renderer/renderer_webcookiejar_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 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/public/platform/WebCookieJar.h" 9 #include "third_party/WebKit/public/platform/WebCookieJar.h"
10 10
11 namespace content { 11 namespace content {
12 class RenderFrameImpl; 12 class RenderFrameImpl;
13 13
14 class RendererWebCookieJarImpl : public blink::WebCookieJar { 14 class RendererWebCookieJarImpl : public blink::WebCookieJar {
15 public: 15 public:
16 explicit RendererWebCookieJarImpl(RenderFrameImpl* sender) 16 explicit RendererWebCookieJarImpl(RenderFrameImpl* sender)
17 : sender_(sender) { 17 : sender_(sender) {
18 } 18 }
19 virtual ~RendererWebCookieJarImpl() {} 19 virtual ~RendererWebCookieJarImpl() {}
20 20
21 private: 21 private:
22 // blink::WebCookieJar methods: 22 // blink::WebCookieJar methods:
23 virtual void setCookie( 23 virtual void setCookie(
24 const blink::WebURL& url, const blink::WebURL& first_party_for_cookies, 24 const blink::WebURL& url, const blink::WebURL& first_party_for_cookies,
25 const blink::WebString& value); 25 const blink::WebString& value);
26 virtual blink::WebString cookies( 26 virtual blink::WebString cookies(
27 const blink::WebURL& url, const blink::WebURL& first_party_for_cookies); 27 const blink::WebURL& url, const blink::WebURL& first_party_for_cookies);
28 virtual blink::WebString cookieRequestHeaderFieldValue( 28 virtual blink::WebString cookieRequestHeaderFieldValue(
29 const blink::WebURL& url, const blink::WebURL& first_party_for_cookies); 29 const blink::WebURL& url, const blink::WebURL& first_party_for_cookies);
30 virtual void rawCookies(
31 const blink::WebURL& url, const blink::WebURL& first_party_for_cookies,
32 blink::WebVector<blink::WebCookie>& cookies);
33 virtual void deleteCookie(
34 const blink::WebURL& url, const blink::WebString& cookie_name);
35 virtual bool cookiesEnabled( 30 virtual bool cookiesEnabled(
36 const blink::WebURL& url, const blink::WebURL& first_party_for_cookies); 31 const blink::WebURL& url, const blink::WebURL& first_party_for_cookies);
37 32
38 RenderFrameImpl* sender_; 33 RenderFrameImpl* sender_;
39 }; 34 };
40 35
41 } // namespace content 36 } // namespace content
42 37
43 #endif // CONTENT_RENDERER_RENDERER_WEBCOOKIEJAR_IMPL_H_ 38 #endif // CONTENT_RENDERER_RENDERER_WEBCOOKIEJAR_IMPL_H_
OLDNEW
« no previous file with comments | « content/content_common.gypi ('k') | content/renderer/renderer_webcookiejar_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698