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

Unified Diff: content/browser/frame_host/render_frame_message_filter.h

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/browser/frame_host/render_frame_message_filter.h
diff --git a/content/browser/frame_host/render_frame_message_filter.h b/content/browser/frame_host/render_frame_message_filter.h
index 58460bc7a9b8c821008743e52d81fbd864060ccd..d576df03cc315d8f551aa14dc6958255e10641a6 100644
--- a/content/browser/frame_host/render_frame_message_filter.h
+++ b/content/browser/frame_host/render_frame_message_filter.h
@@ -80,10 +80,6 @@ class CONTENT_EXPORT RenderFrameMessageFilter
void OnCreateChildFrame(const FrameHostMsg_CreateChildFrame_Params& params,
int* new_render_frame_id);
- void OnGetCookies(int render_frame_id,
- const GURL& url,
- const GURL& first_party_for_cookies,
- IPC::Message* reply_msg);
void OnCookiesEnabled(int render_frame_id,
const GURL& url,
const GURL& first_party_for_cookies,
@@ -93,14 +89,9 @@ class CONTENT_EXPORT RenderFrameMessageFilter
void CheckPolicyForCookies(int render_frame_id,
const GURL& url,
const GURL& first_party_for_cookies,
- IPC::Message* reply_msg,
+ const GetCookiesCallback& callback,
const net::CookieList& cookie_list);
- // Writes the cookies to reply messages, and sends the message.
- // Callback functions for getting cookies from cookie store.
- void SendGetCookiesResponse(IPC::Message* reply_msg,
- const std::string& cookies);
-
void OnDownloadUrl(int render_view_id,
int render_frame_id,
const GURL& url,
@@ -122,6 +113,10 @@ class CONTENT_EXPORT RenderFrameMessageFilter
const GURL& url,
const GURL& first_party_for_cookies,
const mojo::String& cookie) override;
+ void GetCookies(int render_frame_id,
+ const GURL& url,
+ const GURL& first_party_for_cookies,
+ const GetCookiesCallback& callback) override;
#if defined(ENABLE_PLUGINS)

Powered by Google App Engine
This is Rietveld 408576698