Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Side by Side Diff: components/data_reduction_proxy/content/common/data_reduction_proxy_messages.h

Issue 1140443002: Modify IPC call to properly record the PLT histograms for LoFi. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change the variable names to be more intuitive. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698