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

Unified Diff: content/common/render_frame_message_filter.mojom

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/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);
};

Powered by Google App Engine
This is Rietveld 408576698