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

Unified Diff: net/dns/mojo_type_converters.h

Issue 955263002: Rename mojo_type_converters.* to mojo_{host,proxy}_type_converters.* (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
« no previous file with comments | « net/dns/mojo_host_type_converters.cc ('k') | net/dns/mojo_type_converters.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/dns/mojo_type_converters.h
diff --git a/net/dns/mojo_type_converters.h b/net/dns/mojo_type_converters.h
deleted file mode 100644
index 4e17a69c21b24757aa71ac7e49f6b91e61f20201..0000000000000000000000000000000000000000
--- a/net/dns/mojo_type_converters.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// 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.
-
-#ifndef NET_DNS_MOJO_TYPE_CONVERTERS_H_
-#define NET_DNS_MOJO_TYPE_CONVERTERS_H_
-
-#include "net/dns/host_resolver.h"
-#include "net/interfaces/host_resolver_service.mojom.h"
-
-namespace mojo {
-
-template <>
-struct TypeConverter<net::HostResolver::RequestInfo,
- net::interfaces::HostResolverRequestInfo> {
- static net::HostResolver::RequestInfo Convert(
- const net::interfaces::HostResolverRequestInfo& obj);
-};
-
-template <>
-struct TypeConverter<net::interfaces::HostResolverRequestInfoPtr,
- net::HostResolver::RequestInfo> {
- static net::interfaces::HostResolverRequestInfoPtr Convert(
- const net::HostResolver::RequestInfo& obj);
-};
-
-template <>
-struct TypeConverter<net::interfaces::AddressListPtr, net::AddressList> {
- static net::interfaces::AddressListPtr Convert(const net::AddressList& obj);
-};
-
-template <>
-struct TypeConverter<net::AddressList, net::interfaces::AddressList> {
- static net::AddressList Convert(const net::interfaces::AddressList& obj);
-};
-
-} // namespace mojo
-
-#endif // NET_DNS_MOJO_TYPE_CONVERTERS_H_
« no previous file with comments | « net/dns/mojo_host_type_converters.cc ('k') | net/dns/mojo_type_converters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698