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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module content.mojom; 5 module content.mojom;
6 6
7 import "url/mojo/url.mojom"; 7 import "url/mojo/url.mojom";
8 8
9 interface RenderFrameMessageFilter { 9 interface RenderFrameMessageFilter {
10 // Sets a cookie. The cookie is set asynchronously, but will be available to 10 // Sets a cookie. The cookie is set asynchronously, but will be available to
11 // any subsequent FrameHostMsg_GetCookies request. 11 // any subsequent GetCookies() request.
12 SetCookie(int32 render_frame_id, url.mojom.Url url, 12 SetCookie(int32 render_frame_id, url.mojom.Url url,
13 url.mojom.Url first_party_for_cookies, string cookie); 13 url.mojom.Url first_party_for_cookies, string cookie);
14
15 // Used to get cookies for the given URL. This may block waiting for a
16 // previous SetCookie message to be processed.
17 [Sync]
18 GetCookies(int32 render_frame_id, url.mojom.Url url,
19 url.mojom.Url first_party_for_cookies) => (string cookies);
14 }; 20 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698