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

Unified Diff: net/proxy/mojo_proxy_type_converters.h

Issue 917863005: Implementation of ProxyResolver that uses a Mojo service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sam-v8-pac-utility-proxy
Patch Set: Fix build. Created 5 years, 9 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
« no previous file with comments | « net/proxy/mojo_proxy_resolver_factory.h ('k') | net/proxy/mojo_proxy_type_converters.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/mojo_proxy_type_converters.h
diff --git a/net/proxy/mojo_proxy_type_converters.h b/net/proxy/mojo_proxy_type_converters.h
index f13c1fc925b09c3b863029b140d3df7f48f2bf14..55ea69df919e6aa99ece5918c74d8bb6ed8ab585 100644
--- a/net/proxy/mojo_proxy_type_converters.h
+++ b/net/proxy/mojo_proxy_type_converters.h
@@ -9,6 +9,7 @@
#include "third_party/mojo/src/mojo/public/cpp/bindings/type_converter.h"
namespace net {
+class ProxyInfo;
class ProxyServer;
}
@@ -24,6 +25,13 @@ struct TypeConverter<net::ProxyServer, net::interfaces::ProxyServerPtr> {
static net::ProxyServer Convert(const net::interfaces::ProxyServerPtr& obj);
};
+template <>
+struct TypeConverter<net::ProxyInfo,
+ mojo::Array<net::interfaces::ProxyServerPtr>> {
+ static net::ProxyInfo Convert(
+ const mojo::Array<net::interfaces::ProxyServerPtr>& obj);
+};
+
} // namespace mojo
#endif // NET_PROXY_MOJO_PROXY_TYPE_CONVERTERS_H_
« no previous file with comments | « net/proxy/mojo_proxy_resolver_factory.h ('k') | net/proxy/mojo_proxy_type_converters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698