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) |