Index: content/common/resource_messages.h |
diff --git a/content/common/resource_messages.h b/content/common/resource_messages.h |
index c435263ace4c0f195a524f105d5330773d6e4c16..521a033408cae7de147570cbb67a5809a5d27185 100644 |
--- a/content/common/resource_messages.h |
+++ b/content/common/resource_messages.h |
@@ -10,6 +10,7 @@ |
#include "base/memory/shared_memory.h" |
#include "base/process/process.h" |
#include "content/common/content_param_traits_macros.h" |
+#include "content/common/navigation_params.h" |
#include "content/common/resource_request_body.h" |
#include "content/common/service_worker/service_worker_types.h" |
#include "content/public/common/common_param_traits.h" |
@@ -135,6 +136,7 @@ IPC_STRUCT_TRAITS_BEGIN(content::ResourceResponseInfo) |
IPC_STRUCT_TRAITS_MEMBER(service_worker_start_time) |
IPC_STRUCT_TRAITS_MEMBER(service_worker_ready_time) |
IPC_STRUCT_TRAITS_MEMBER(proxy_server) |
+ IPC_STRUCT_TRAITS_MEMBER(is_lofi) |
IPC_STRUCT_TRAITS_END() |
IPC_STRUCT_TRAITS_BEGIN(net::RedirectInfo) |
@@ -267,6 +269,10 @@ IPC_STRUCT_BEGIN(ResourceHostMsg_Request) |
// Whether or not we should allow the URL to download. |
IPC_STRUCT_MEMBER(bool, allow_download) |
+ |
+ // Whether or not to request a LoFi version of the resource or let the browser |
+ // decide. |
+ IPC_STRUCT_MEMBER(int, lofi_state) |
davidben
2015/08/27 18:53:50
This needs to be an enum, not an int. The IPC logi
megjablon
2015/08/27 23:11:02
Is there a way for an IPC struct to have enums? I
megjablon
2015/09/09 20:54:16
Done.
|
IPC_STRUCT_END() |
// Parameters for a ResourceMsg_RequestComplete |