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

Unified Diff: components/data_reduction_proxy/content/common/data_reduction_proxy.mojom

Issue 2063683002: Migrate components/data_reduction_proxy to Mojo interfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase only Created 4 years, 5 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.mojom
diff --git a/components/data_reduction_proxy/content/common/data_reduction_proxy.mojom b/components/data_reduction_proxy/content/common/data_reduction_proxy.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..f649c235fb3a2e946235f6b67f82257bde811fef
--- /dev/null
+++ b/components/data_reduction_proxy/content/common/data_reduction_proxy.mojom
@@ -0,0 +1,14 @@
+// Copyright 2016 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.
+
+module data_reduction_proxy.mojom;
+
+import "net/base/mojo/net_base.mojom";
+
+interface DataReductionProxyHost {
+ // Returns true if the |proxy_server| corresponds to a Data Reduction Proxy.
+ [Sync]
+ IsDataReductionProxy(net.mojom.HostPortPair proxy_server)
+ => (bool is_data_reduction_proxy);
+};

Powered by Google App Engine
This is Rietveld 408576698