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

Side by Side Diff: content/common/view_messages.h

Issue 1082623002: Remove GetRawCookies and DeleteCookie implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « content/common/cookie_data.cc ('k') | content/content_common.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // IPC messages for page rendering. 5 // IPC messages for page rendering.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "base/memory/shared_memory.h" 8 #include "base/memory/shared_memory.h"
9 #include "base/process/process.h" 9 #include "base/process/process.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
11 #include "cc/output/begin_frame_args.h" 11 #include "cc/output/begin_frame_args.h"
12 #include "cc/output/compositor_frame.h" 12 #include "cc/output/compositor_frame.h"
13 #include "cc/output/compositor_frame_ack.h" 13 #include "cc/output/compositor_frame_ack.h"
14 #include "content/common/content_export.h" 14 #include "content/common/content_export.h"
15 #include "content/common/content_param_traits.h" 15 #include "content/common/content_param_traits.h"
16 #include "content/common/cookie_data.h"
17 #include "content/common/date_time_suggestion.h" 16 #include "content/common/date_time_suggestion.h"
18 #include "content/common/frame_replication_state.h" 17 #include "content/common/frame_replication_state.h"
19 #include "content/common/navigation_gesture.h" 18 #include "content/common/navigation_gesture.h"
20 #include "content/common/view_message_enums.h" 19 #include "content/common/view_message_enums.h"
21 #include "content/common/webplugin_geometry.h" 20 #include "content/common/webplugin_geometry.h"
22 #include "content/public/common/common_param_traits.h" 21 #include "content/public/common/common_param_traits.h"
23 #include "content/public/common/favicon_url.h" 22 #include "content/public/common/favicon_url.h"
24 #include "content/public/common/file_chooser_file_info.h" 23 #include "content/public/common/file_chooser_file_info.h"
25 #include "content/public/common/file_chooser_params.h" 24 #include "content/public/common/file_chooser_params.h"
26 #include "content/public/common/menu_item.h" 25 #include "content/public/common/menu_item.h"
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 IPC_STRUCT_TRAITS_MEMBER(status_font_height) 263 IPC_STRUCT_TRAITS_MEMBER(status_font_height)
265 IPC_STRUCT_TRAITS_MEMBER(message_font_family_name) 264 IPC_STRUCT_TRAITS_MEMBER(message_font_family_name)
266 IPC_STRUCT_TRAITS_MEMBER(message_font_height) 265 IPC_STRUCT_TRAITS_MEMBER(message_font_height)
267 IPC_STRUCT_TRAITS_MEMBER(vertical_scroll_bar_width_in_dips) 266 IPC_STRUCT_TRAITS_MEMBER(vertical_scroll_bar_width_in_dips)
268 IPC_STRUCT_TRAITS_MEMBER(horizontal_scroll_bar_height_in_dips) 267 IPC_STRUCT_TRAITS_MEMBER(horizontal_scroll_bar_height_in_dips)
269 IPC_STRUCT_TRAITS_MEMBER(arrow_bitmap_height_vertical_scroll_bar_in_dips) 268 IPC_STRUCT_TRAITS_MEMBER(arrow_bitmap_height_vertical_scroll_bar_in_dips)
270 IPC_STRUCT_TRAITS_MEMBER(arrow_bitmap_width_horizontal_scroll_bar_in_dips) 269 IPC_STRUCT_TRAITS_MEMBER(arrow_bitmap_width_horizontal_scroll_bar_in_dips)
271 #endif 270 #endif
272 IPC_STRUCT_TRAITS_END() 271 IPC_STRUCT_TRAITS_END()
273 272
274 IPC_STRUCT_TRAITS_BEGIN(content::CookieData)
275 IPC_STRUCT_TRAITS_MEMBER(name)
276 IPC_STRUCT_TRAITS_MEMBER(value)
277 IPC_STRUCT_TRAITS_MEMBER(domain)
278 IPC_STRUCT_TRAITS_MEMBER(path)
279 IPC_STRUCT_TRAITS_MEMBER(expires)
280 IPC_STRUCT_TRAITS_MEMBER(http_only)
281 IPC_STRUCT_TRAITS_MEMBER(secure)
282 IPC_STRUCT_TRAITS_MEMBER(session)
283 IPC_STRUCT_TRAITS_END()
284
285 IPC_STRUCT_TRAITS_BEGIN(content::WebPluginGeometry) 273 IPC_STRUCT_TRAITS_BEGIN(content::WebPluginGeometry)
286 IPC_STRUCT_TRAITS_MEMBER(window) 274 IPC_STRUCT_TRAITS_MEMBER(window)
287 IPC_STRUCT_TRAITS_MEMBER(window_rect) 275 IPC_STRUCT_TRAITS_MEMBER(window_rect)
288 IPC_STRUCT_TRAITS_MEMBER(clip_rect) 276 IPC_STRUCT_TRAITS_MEMBER(clip_rect)
289 IPC_STRUCT_TRAITS_MEMBER(cutout_rects) 277 IPC_STRUCT_TRAITS_MEMBER(cutout_rects)
290 IPC_STRUCT_TRAITS_MEMBER(rects_valid) 278 IPC_STRUCT_TRAITS_MEMBER(rects_valid)
291 IPC_STRUCT_TRAITS_MEMBER(visible) 279 IPC_STRUCT_TRAITS_MEMBER(visible)
292 IPC_STRUCT_TRAITS_END() 280 IPC_STRUCT_TRAITS_END()
293 281
294 IPC_STRUCT_TRAITS_BEGIN(media::MediaLogEvent) 282 IPC_STRUCT_TRAITS_BEGIN(media::MediaLogEvent)
(...skipping 878 matching lines...) Expand 10 before | Expand all | Expand 10 after
1173 std::string /* cookie */) 1161 std::string /* cookie */)
1174 1162
1175 // Used to get cookies for the given URL. This may block waiting for a 1163 // Used to get cookies for the given URL. This may block waiting for a
1176 // previous SetCookie message to be processed. 1164 // previous SetCookie message to be processed.
1177 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_GetCookies, 1165 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_GetCookies,
1178 int /* render_frame_id */, 1166 int /* render_frame_id */,
1179 GURL /* url */, 1167 GURL /* url */,
1180 GURL /* first_party_for_cookies */, 1168 GURL /* first_party_for_cookies */,
1181 std::string /* cookies */) 1169 std::string /* cookies */)
1182 1170
1183 // Used to get raw cookie information for the given URL. This may block
1184 // waiting for a previous SetCookie message to be processed.
1185 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_GetRawCookies,
1186 GURL /* url */,
1187 GURL /* first_party_for_cookies */,
1188 std::vector<content::CookieData>
1189 /* raw_cookies */)
1190
1191 // Used to delete cookie for the given URL and name
1192 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_DeleteCookie,
1193 GURL /* url */,
1194 std::string /* cookie_name */)
1195
1196 // Used to check if cookies are enabled for the given URL. This may block 1171 // Used to check if cookies are enabled for the given URL. This may block
1197 // waiting for a previous SetCookie message to be processed. 1172 // waiting for a previous SetCookie message to be processed.
1198 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_CookiesEnabled, 1173 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_CookiesEnabled,
1199 int /* render_frame_id */, 1174 int /* render_frame_id */,
1200 GURL /* url */, 1175 GURL /* url */,
1201 GURL /* first_party_for_cookies */, 1176 GURL /* first_party_for_cookies */,
1202 bool /* cookies_enabled */) 1177 bool /* cookies_enabled */)
1203 1178
1204 // Used to get the list of plugins 1179 // Used to get the list of plugins
1205 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetPlugins, 1180 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetPlugins,
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
1648 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 1623 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
1649 // for details. 1624 // for details.
1650 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 1625 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
1651 LOGFONT /* font_data */, 1626 LOGFONT /* font_data */,
1652 base::string16 /* characters */) 1627 base::string16 /* characters */)
1653 #endif 1628 #endif
1654 1629
1655 // Adding a new message? Stick to the sort order above: first platform 1630 // Adding a new message? Stick to the sort order above: first platform
1656 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1631 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1657 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1632 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/common/cookie_data.cc ('k') | content/content_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698