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

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

Issue 63253002: Rename WebKit namespace to blink (part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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
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 #include "third_party/WebKit/public/platform/WebString.h" 10 #include "third_party/WebKit/public/platform/WebString.h"
11 11
12 namespace content { 12 namespace content {
13 class RenderViewImpl; 13 class RenderViewImpl;
14 14
15 class RendererWebCookieJarImpl : public WebKit::WebCookieJar { 15 class RendererWebCookieJarImpl : public blink::WebCookieJar {
16 public: 16 public:
17 explicit RendererWebCookieJarImpl(RenderViewImpl* sender) 17 explicit RendererWebCookieJarImpl(RenderViewImpl* sender)
18 : sender_(sender) { 18 : sender_(sender) {
19 } 19 }
20 virtual ~RendererWebCookieJarImpl() {} 20 virtual ~RendererWebCookieJarImpl() {}
21 21
22 private: 22 private:
23 // WebKit::WebCookieJar methods: 23 // blink::WebCookieJar methods:
24 virtual void setCookie( 24 virtual void setCookie(
25 const WebKit::WebURL& url, const WebKit::WebURL& first_party_for_cookies, 25 const blink::WebURL& url, const blink::WebURL& first_party_for_cookies,
26 const WebKit::WebString& value); 26 const blink::WebString& value);
27 virtual WebKit::WebString cookies( 27 virtual blink::WebString cookies(
28 const WebKit::WebURL& url, const WebKit::WebURL& first_party_for_cookies); 28 const blink::WebURL& url, const blink::WebURL& first_party_for_cookies);
29 virtual WebKit::WebString cookieRequestHeaderFieldValue( 29 virtual blink::WebString cookieRequestHeaderFieldValue(
30 const WebKit::WebURL& url, const WebKit::WebURL& first_party_for_cookies); 30 const blink::WebURL& url, const blink::WebURL& first_party_for_cookies);
31 virtual void rawCookies( 31 virtual void rawCookies(
32 const WebKit::WebURL& url, const WebKit::WebURL& first_party_for_cookies, 32 const blink::WebURL& url, const blink::WebURL& first_party_for_cookies,
33 WebKit::WebVector<WebKit::WebCookie>& cookies); 33 blink::WebVector<blink::WebCookie>& cookies);
34 virtual void deleteCookie( 34 virtual void deleteCookie(
35 const WebKit::WebURL& url, const WebKit::WebString& cookie_name); 35 const blink::WebURL& url, const blink::WebString& cookie_name);
36 virtual bool cookiesEnabled( 36 virtual bool cookiesEnabled(
37 const WebKit::WebURL& url, const WebKit::WebURL& first_party_for_cookies); 37 const blink::WebURL& url, const blink::WebURL& first_party_for_cookies);
38 38
39 RenderViewImpl* sender_; 39 RenderViewImpl* sender_;
40 }; 40 };
41 41
42 } // namespace content 42 } // namespace content
43 43
44 #endif // CONTENT_RENDERER_RENDERER_WEBCOOKIEJAR_IMPL_H_ 44 #endif // CONTENT_RENDERER_RENDERER_WEBCOOKIEJAR_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/renderer_webcolorchooser_impl.cc ('k') | content/renderer/renderer_webcookiejar_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698