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

Unified Diff: components/data_reduction_proxy/content/common/data_reduction_proxy_messages.h

Issue 966443002: Add DataReductionProxy IPC to determine if the Data Reduction Proxy was used. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
new file mode 100644
index 0000000000000000000000000000000000000000..0641b75e1924fcaeb104d6e1dff85fc386a11c8c
--- /dev/null
+++ b/components/data_reduction_proxy/content/common/data_reduction_proxy_messages.h
@@ -0,0 +1,15 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Multiply-included file, no traditional include guard.
+#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_WasDataReductionProxyUsed,
+ net::HostPortPair /* Proxy server */,
+ bool /* data reduction proxy was used */)
bengr 2015/02/26 22:52:52 Data Reduction Proxy
jeremyim 2015/02/27 04:38:41 Done.

Powered by Google App Engine
This is Rietveld 408576698