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

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

Issue 7461106: Inform disk cache of WebKit memory cache hits. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/process.h" 8 #include "base/process.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "content/common/common_param_traits.h" 10 #include "content/common/common_param_traits.h"
(...skipping 1395 matching lines...) Expand 10 before | Expand all | Expand 10 after
1406 int32 /* page_id */) 1406 int32 /* page_id */)
1407 1407
1408 // Sent when the renderer loads a resource from its memory cache. 1408 // Sent when the renderer loads a resource from its memory cache.
1409 // The security info is non empty if the resource was originally loaded over 1409 // The security info is non empty if the resource was originally loaded over
1410 // a secure connection. 1410 // a secure connection.
1411 // Note: May only be sent once per URL per frame per committed load. 1411 // Note: May only be sent once per URL per frame per committed load.
1412 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidLoadResourceFromMemoryCache, 1412 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidLoadResourceFromMemoryCache,
1413 GURL /* url */, 1413 GURL /* url */,
1414 std::string /* security info */) 1414 std::string /* security info */)
1415 1415
1416 // Sent when the renderer accesses a resource in its memory cache. Used to
1417 // synchronize the disk cache with the memory cache.
1418 IPC_MESSAGE_CONTROL2(ViewHostMsg_DidAccessResourceInMemoryCache,
darin (slow to review) 2011/07/30 05:09:32 it slightly bugs me that we have DidLoadResourceFr
1419 GURL /* url */,
1420 std::string /* http method */)
1421
1416 // Sent when the renderer displays insecure content in a secure page. 1422 // Sent when the renderer displays insecure content in a secure page.
1417 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidDisplayInsecureContent) 1423 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidDisplayInsecureContent)
1418 1424
1419 // Sent when the renderer runs insecure content in a secure origin. 1425 // Sent when the renderer runs insecure content in a secure origin.
1420 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidRunInsecureContent, 1426 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidRunInsecureContent,
1421 std::string /* security_origin */, 1427 std::string /* security_origin */,
1422 GURL /* target URL */) 1428 GURL /* target URL */)
1423 1429
1424 // Sent when the renderer starts a provisional load for a frame. 1430 // Sent when the renderer starts a provisional load for a frame.
1425 IPC_MESSAGE_ROUTED4(ViewHostMsg_DidStartProvisionalLoadForFrame, 1431 IPC_MESSAGE_ROUTED4(ViewHostMsg_DidStartProvisionalLoadForFrame,
(...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after
1996 2002
1997 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendCurrentPageAllSavableResourceLinks, 2003 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendCurrentPageAllSavableResourceLinks,
1998 std::vector<GURL> /* all savable resource links */, 2004 std::vector<GURL> /* all savable resource links */,
1999 std::vector<GURL> /* all referrers of resource links */, 2005 std::vector<GURL> /* all referrers of resource links */,
2000 std::vector<GURL> /* all frame links */) 2006 std::vector<GURL> /* all frame links */)
2001 2007
2002 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendSerializedHtmlData, 2008 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendSerializedHtmlData,
2003 GURL /* frame's url */, 2009 GURL /* frame's url */,
2004 std::string /* data buffer */, 2010 std::string /* data buffer */,
2005 int32 /* complete status */) 2011 int32 /* complete status */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698