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

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: Fixed minor typo in test 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..ecbf304865b81f13a7cfb0fec04ae2750f45ebd6 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_LAST);
+
+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::AutoLoFiStatus
+ /* set to the current Auto LoFi status */)

Powered by Google App Engine
This is Rietveld 408576698