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

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

Issue 3170020: Completely revert all my IPC work to see if this was what regressed the page cycler. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Rebase Created 10 years, 4 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
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 "chrome/renderer/renderer_webcookiejar_impl.h" 5 #include "chrome/renderer/renderer_webcookiejar_impl.h"
6 6
7 #include "chrome/common/render_messages.h" 7 #include "chrome/common/render_messages.h"
8 #include "chrome/renderer/render_thread.h" 8 #include "chrome/renderer/render_thread.h"
9 #include "third_party/WebKit/WebKit/chromium/public/WebCookie.h" 9 #include "third_party/WebKit/WebKit/chromium/public/WebCookie.h"
10 #include "webkit/glue/webcookie.h"
11 10
12 using WebKit::WebCookie; 11 using WebKit::WebCookie;
13 using WebKit::WebString; 12 using WebKit::WebString;
14 using WebKit::WebURL; 13 using WebKit::WebURL;
15 using WebKit::WebVector; 14 using WebKit::WebVector;
16 15
17 void RendererWebCookieJarImpl::setCookie( 16 void RendererWebCookieJarImpl::setCookie(
18 const WebURL& url, const WebURL& first_party_for_cookies, 17 const WebURL& url, const WebURL& first_party_for_cookies,
19 const WebString& value) { 18 const WebString& value) {
20 std::string value_utf8; 19 std::string value_utf8;
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 sender_->Send(new ViewHostMsg_DeleteCookie(url, cookie_name_utf8)); 67 sender_->Send(new ViewHostMsg_DeleteCookie(url, cookie_name_utf8));
69 } 68 }
70 69
71 bool RendererWebCookieJarImpl::cookiesEnabled( 70 bool RendererWebCookieJarImpl::cookiesEnabled(
72 const WebURL& url, const WebURL& first_party_for_cookies) { 71 const WebURL& url, const WebURL& first_party_for_cookies) {
73 bool enabled; 72 bool enabled;
74 sender_->Send(new ViewHostMsg_GetCookiesEnabled( 73 sender_->Send(new ViewHostMsg_GetCookiesEnabled(
75 url, first_party_for_cookies, &enabled)); 74 url, first_party_for_cookies, &enabled));
76 return enabled; 75 return enabled;
77 } 76 }
OLDNEW
« no previous file with comments | « chrome/renderer/render_widget.cc ('k') | chrome/renderer/safe_browsing/phishing_dom_feature_extractor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698