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

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

Issue 8100013: Start off the Content API by moving content::ContentRendererClient to content\public\renderer.BU... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 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 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 #include "content/renderer/renderer_webcookiejar_impl.h" 5 #include "content/renderer/renderer_webcookiejar_impl.h"
6 6
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "content/common/view_messages.h" 8 #include "content/common/view_messages.h"
9 #include "content/renderer/content_renderer_client.h" 9 #include "content/public/renderer/content_renderer_client.h"
10 #include "content/renderer/render_thread.h" 10 #include "content/renderer/render_thread.h"
11 #include "content/renderer/render_view.h" 11 #include "content/renderer/render_view.h"
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCookie.h" 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCookie.h"
13 #include "webkit/glue/webcookie.h" 13 #include "webkit/glue/webcookie.h"
14 14
15 using WebKit::WebCookie; 15 using WebKit::WebCookie;
16 using WebKit::WebString; 16 using WebKit::WebString;
17 using WebKit::WebURL; 17 using WebKit::WebURL;
18 using WebKit::WebVector; 18 using WebKit::WebVector;
19 19
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 } 79 }
80 80
81 bool RendererWebCookieJarImpl::cookiesEnabled( 81 bool RendererWebCookieJarImpl::cookiesEnabled(
82 const WebURL& url, const WebURL& first_party_for_cookies) { 82 const WebURL& url, const WebURL& first_party_for_cookies) {
83 bool cookies_enabled; 83 bool cookies_enabled;
84 // NOTE: This may pump events (see RenderThread::Send). 84 // NOTE: This may pump events (see RenderThread::Send).
85 sender_->Send(new ViewHostMsg_CookiesEnabled( 85 sender_->Send(new ViewHostMsg_CookiesEnabled(
86 url, first_party_for_cookies, &cookies_enabled)); 86 url, first_party_for_cookies, &cookies_enabled));
87 return cookies_enabled; 87 return cookies_enabled;
88 } 88 }
OLDNEW
« no previous file with comments | « content/renderer/renderer_glue.cc ('k') | content/renderer/renderer_webkitplatformsupport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698