OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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 // Multiply-included file, no traditional include guard. | 5 // Multiply-included file, no traditional include guard. |
6 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf
ig.h" | |
7 #include "content/public/common/common_param_traits.h" | 6 #include "content/public/common/common_param_traits.h" |
8 #include "ipc/ipc_message_macros.h" | 7 #include "ipc/ipc_message_macros.h" |
9 #include "net/base/host_port_pair.h" | 8 #include "net/base/host_port_pair.h" |
10 | 9 |
11 #define IPC_MESSAGE_START DataReductionProxyStart | 10 #define IPC_MESSAGE_START DataReductionProxyStart |
12 | 11 |
13 IPC_ENUM_TRAITS_MAX_VALUE(data_reduction_proxy::LoFiStatus, | 12 IPC_SYNC_MESSAGE_CONTROL1_1( |
14 data_reduction_proxy::LOFI_STATUS_LAST); | 13 DataReductionProxyViewHostMsg_IsDataReductionProxy, |
15 | |
16 IPC_SYNC_MESSAGE_CONTROL1_2( | |
17 DataReductionProxyViewHostMsg_DataReductionProxyStatus, | |
18 net::HostPortPair /* proxy server */, | 14 net::HostPortPair /* proxy server */, |
19 bool /* true iff the proxy server is a Data Reduction Proxy */, | 15 bool /* true iff the proxy server is a Data Reduction Proxy */) |
20 data_reduction_proxy::LoFiStatus /* current LoFi status */) | |
OLD | NEW |