Index: content/common/icon_messages.h |
diff --git a/content/common/icon_messages.h b/content/common/icon_messages.h |
index 9c466431991bce69c4531c90a21c586db11aa23e..d82850133a28879fffd4ad670f12e2d038e2b17a 100644 |
--- a/content/common/icon_messages.h |
+++ b/content/common/icon_messages.h |
@@ -5,6 +5,7 @@ |
// Multiply-included message file, no traditional include guard. |
#include <vector> |
+#include "content/public/common/content_constants.h" |
#include "content/public/common/favicon_url.h" |
#include "ipc/ipc_message.h" |
#include "ipc/ipc_message_macros.h" |
@@ -14,6 +15,7 @@ |
#define IPC_MESSAGE_START IconMsgStart |
IPC_ENUM_TRAITS(content::FaviconURL::IconType) |
+IPC_ENUM_TRAITS(content::DownloadImageType) |
IPC_STRUCT_TRAITS_BEGIN(content::FaviconURL) |
IPC_STRUCT_TRAITS_MEMBER(icon_url) |
@@ -24,9 +26,10 @@ IPC_STRUCT_TRAITS_END() |
// Requests the renderer to download the specified favicon image, decode it, |
// and send the image data back via IconHostMsg_DidDownloadFavicon. |
-IPC_MESSAGE_ROUTED3(IconMsg_DownloadFavicon, |
+IPC_MESSAGE_ROUTED4(IconMsg_DownloadFavicon, |
int /* identifier for the request */, |
GURL /* URL of the image */, |
+ content::DownloadImageType /* type of image */, |
int /* Preferred favicon size. Passed on to |
IconHostMsg_DidDownloadFavicon, unused otherwise */) |