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" | |
6 #include "content/public/common/common_param_traits.h" | 7 #include "content/public/common/common_param_traits.h" |
7 #include "ipc/ipc_message_macros.h" | 8 #include "ipc/ipc_message_macros.h" |
8 #include "net/base/host_port_pair.h" | 9 #include "net/base/host_port_pair.h" |
9 | 10 |
10 #define IPC_MESSAGE_START DataReductionProxyStart | 11 #define IPC_MESSAGE_START DataReductionProxyStart |
11 | 12 |
12 IPC_SYNC_MESSAGE_CONTROL1_1( | 13 IPC_ENUM_TRAITS_MAX_VALUE(data_reduction_proxy::AutoLoFiStatus, |
13 DataReductionProxyViewHostMsg_IsDataReductionProxy, | 14 data_reduction_proxy::AUTO_LOFI_STATUS_ON); |
15 | |
16 IPC_SYNC_MESSAGE_CONTROL1_2( | |
17 DataReductionProxyViewHostMsg_DataReductionProxyStatus, | |
14 net::HostPortPair /* proxy server */, | 18 net::HostPortPair /* proxy server */, |
15 bool /* true iff the proxy server is a Data Reduction Proxy */) | 19 bool /* true iff the proxy server is a Data Reduction Proxy */, |
20 data_reduction_proxy:: | |
Tom Sepez
2015/05/12 19:46:20
nit: Don't break at the ::, comment on next line a
tbansal1
2015/05/12 22:12:42
Done.
| |
21 AutoLoFiStatus /* set to the current Auto LoFi status */) | |
OLD | NEW |