Index: content/common/render_frame_message_filter.mojom |
diff --git a/content/common/render_frame_message_filter.mojom b/content/common/render_frame_message_filter.mojom |
index 909c4f379c7a818379e15da87219a9f6fc63acb6..5bbf05eaf5f626c6b02725fd73a43d73c67d0ee5 100644 |
--- a/content/common/render_frame_message_filter.mojom |
+++ b/content/common/render_frame_message_filter.mojom |
@@ -8,7 +8,13 @@ import "url/mojo/url.mojom"; |
interface RenderFrameMessageFilter { |
// Sets a cookie. The cookie is set asynchronously, but will be available to |
- // any subsequent FrameHostMsg_GetCookies request. |
+ // any subsequent GetCookies() request. |
SetCookie(int32 render_frame_id, url.mojom.Url url, |
url.mojom.Url first_party_for_cookies, string cookie); |
+ |
+ // Used to get cookies for the given URL. This may block waiting for a |
+ // previous SetCookie message to be processed. |
+ [Sync] |
+ GetCookies(int32 render_frame_id, url.mojom.Url url, |
+ url.mojom.Url first_party_for_cookies) => (string cookies); |
}; |