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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: components/data_reduction_proxy/content/common/data_reduction_proxy_messages.h
diff --git a/components/data_reduction_proxy/content/common/data_reduction_proxy_messages.h b/components/data_reduction_proxy/content/common/data_reduction_proxy_messages.h
index c7b852e72ea70acf4265fff3e8a0f5892958c2ac..0ba7c23686fbd183b475a77f604971542b2e2618 100644
--- a/components/data_reduction_proxy/content/common/data_reduction_proxy_messages.h
+++ b/components/data_reduction_proxy/content/common/data_reduction_proxy_messages.h
@@ -3,13 +3,19 @@
// found in the LICENSE file.
// Multiply-included file, no traditional include guard.
+#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h"
#include "content/public/common/common_param_traits.h"
#include "ipc/ipc_message_macros.h"
#include "net/base/host_port_pair.h"
#define IPC_MESSAGE_START DataReductionProxyStart
-IPC_SYNC_MESSAGE_CONTROL1_1(
- DataReductionProxyViewHostMsg_IsDataReductionProxy,
+IPC_ENUM_TRAITS_MAX_VALUE(data_reduction_proxy::AutoLoFiStatus,
+ data_reduction_proxy::AUTO_LOFI_STATUS_ON);
+
+IPC_SYNC_MESSAGE_CONTROL1_2(
+ DataReductionProxyViewHostMsg_DataReductionProxyStatus,
net::HostPortPair /* proxy server */,
- bool /* true iff the proxy server is a Data Reduction Proxy */)
+ bool /* true iff the proxy server is a Data Reduction Proxy */,
+ 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.
+ AutoLoFiStatus /* set to the current Auto LoFi status */)

Powered by Google App Engine
This is Rietveld 408576698