Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: content/renderer/

Issue 2202723005: Move FrameHostMsg_GetCookies to mojom (Closed) Base URL:
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/
diff --git a/content/renderer/ b/content/renderer/
index afabadc46e71bd38d72f2fc3b5a0ba0e0af87006..dacd1f6d11c80bb280144d6f4a103d48cee10d45 100644
--- a/content/renderer/
+++ b/content/renderer/
@@ -25,9 +25,9 @@ void RendererWebCookieJarImpl::setCookie(
WebString RendererWebCookieJarImpl::cookies(
const WebURL& url, const WebURL& first_party_for_cookies) {
- std::string value_utf8;
- sender_->Send(new FrameHostMsg_GetCookies(
- sender_->GetRoutingID(), url, first_party_for_cookies, &value_utf8));
+ mojo::String value_utf8;
+ RenderThreadImpl::current()->render_frame_message_filter()->GetCookies(
+ sender_->GetRoutingID(), url, first_party_for_cookies, &value_utf8);
return WebString::fromUTF8(value_utf8);

Powered by Google App Engine
This is Rietveld 408576698