Commit a6badda9 authored by Helen Li's avatar Helen Li Committed by Commit Bot

Rename address_family_traits.h to address_family_mojom_traits.h

The file is not named correctly. This CL uses the correct name suffix.

Bug: 721401
Change-Id: I9c0976bc802cee9f3c13141e6edb0b4ba81de97a
Reviewed-on: https://chromium-review.googlesource.com/891440Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
Commit-Queue: Helen Li <xunjieli@chromium.org>
Cr-Commit-Position: refs/heads/master@{#532960}
parent 762e6d9d
......@@ -8,7 +8,7 @@
#include "base/memory/ptr_util.h"
#include "net/base/address_list.h"
#include "net/interfaces/address_family_traits.h"
#include "net/interfaces/address_family_mojom_traits.h"
#include "net/interfaces/ip_endpoint_struct_traits.h"
namespace mojo {
......
......@@ -4,3 +4,5 @@ per-file *_struct_traits*.*=set noparent
per-file *_struct_traits*.*=file://ipc/SECURITY_OWNERS
per-file *.typemap=set noparent
per-file *.typemap=file://ipc/SECURITY_OWNERS
per-file *_mojom_traits*.*=set noparent
per-file *_mojom_traits*.*=file://ipc/SECURITY_OWNERS
......@@ -4,9 +4,9 @@
mojom = "//net/interfaces/address_family.mojom"
public_headers = [ "//net/base/address_family.h" ]
traits_headers = [ "//net/interfaces/address_family_traits.h" ]
traits_headers = [ "//net/interfaces/address_family_mojom_traits.h" ]
sources = [
"//net/interfaces/address_family_traits.cc",
"//net/interfaces/address_family_mojom_traits.cc",
]
type_mappings = [ "net.interfaces.AddressFamily=net::AddressFamily" ]
public_deps = [
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/interfaces/address_family_traits.h"
#include "net/interfaces/address_family_mojom_traits.h"
namespace mojo {
......
......@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef NET_INTERFACES_ADDRESS_FAMILY_TRAITS_H_
#define NET_INTERFACES_ADDRESS_FAMILY_TRAITS_H_
#ifndef NET_INTERFACES_ADDRESS_FAMILY_MOJOM_TRAITS_H_
#define NET_INTERFACES_ADDRESS_FAMILY_MOJOM_TRAITS_H_
#include "mojo/public/cpp/bindings/enum_traits.h"
#include "net/interfaces/address_family.mojom.h"
......@@ -20,4 +20,4 @@ struct EnumTraits<net::interfaces::AddressFamily, net::AddressFamily> {
} // namespace mojo
#endif // NET_INTERFACES_ADDRESS_FAMILY_TRAITS_H_
#endif // NET_INTERFACES_ADDRESS_FAMILY_MOJOM_TRAITS_H_
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment