1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // Multiply-included file, no traditional include guard.
6 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h"
7 #include "content/public/common/common_param_traits.h"
8 #include "ipc/ipc_message_macros.h"
9 #include "net/base/host_port_pair.h"
11 #define IPC_MESSAGE_START DataReductionProxyStart
13 IPC_ENUM_TRAITS_MAX_VALUE(data_reduction_proxy::LoFiStatus
,
14 data_reduction_proxy::LOFI_STATUS_LAST
);
16 IPC_SYNC_MESSAGE_CONTROL1_2(
17 DataReductionProxyViewHostMsg_DataReductionProxyStatus
,
18 net::HostPortPair
/* proxy server */,
19 bool /* true iff the proxy server is a Data Reduction Proxy */,
20 data_reduction_proxy::LoFiStatus
/* current LoFi status */)