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

Unified Diff: content/renderer/renderer_webcookiejar_impl.cc

Issue 2202723005: Move FrameHostMsg_GetCookies to mojom (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sync-associated-message
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/renderer_webcookiejar_impl.cc
diff --git a/content/renderer/renderer_webcookiejar_impl.cc b/content/renderer/renderer_webcookiejar_impl.cc
index afabadc46e71bd38d72f2fc3b5a0ba0e0af87006..dacd1f6d11c80bb280144d6f4a103d48cee10d45 100644
--- a/content/renderer/renderer_webcookiejar_impl.cc
+++ b/content/renderer/renderer_webcookiejar_impl.cc
@@ -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