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

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: bengr CR comments, update OWNERS for IPC messages 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..db191df0a1bc3c0bde42261729b00f9b5a50f499
--- /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_IsDataReductionProxy,
+ net::HostPortPair /* Proxy server */,
ppi 2015/02/27 10:28:00 by convention, don't capitalize the first word in
jeremyim 2015/02/27 16:42:53 Done.
+ bool /* Proxy server is a Data Reduction Proxy */)
ppi 2015/02/27 10:28:00 Maybe "True iff the proxy server is ..." so that i
jeremyim 2015/02/27 16:42:53 Done.

Powered by Google App Engine
This is Rietveld 408576698