Commit b36d392c authored by Miyoung Shin's avatar Miyoung Shin Committed by Commit Bot

Rename traits in //components/spellcheck

This CL renames *_struct_traits.* to *_mojom_traits.* in
//components/spellcheck.

*_struct_traits.* => *_mojom_traits.*

Bug: 806965
Change-Id: I0be9f65ba47c24cce99c36d9628d38675dbc575b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1730050Reviewed-by: default avatarKinuko Yasuda <kinuko@chromium.org>
Reviewed-by: default avatarRachel Blum <groby@chromium.org>
Commit-Queue: Miyoung Shin <myid.shin@igalia.com>
Cr-Commit-Position: refs/heads/master@{#683184}
parent 5ac70076
...@@ -2,7 +2,7 @@ per-file *_messages*.h=set noparent ...@@ -2,7 +2,7 @@ per-file *_messages*.h=set noparent
per-file *_messages*.h=file://ipc/SECURITY_OWNERS per-file *_messages*.h=file://ipc/SECURITY_OWNERS
per-file *.mojom=set noparent per-file *.mojom=set noparent
per-file *.mojom=file://ipc/SECURITY_OWNERS per-file *.mojom=file://ipc/SECURITY_OWNERS
per-file *_struct_traits*.*=set noparent per-file *_mojom_traits*.*=set noparent
per-file *_struct_traits*.*=file://ipc/SECURITY_OWNERS per-file *_mojom_traits*.*=file://ipc/SECURITY_OWNERS
per-file *.typemap=set noparent per-file *.typemap=set noparent
per-file *.typemap=file://ipc/SECURITY_OWNERS per-file *.typemap=file://ipc/SECURITY_OWNERS
...@@ -6,7 +6,7 @@ mojom = "//components/spellcheck/common/spellcheck.mojom" ...@@ -6,7 +6,7 @@ mojom = "//components/spellcheck/common/spellcheck.mojom"
public_headers = [ "//components/spellcheck/common/spellcheck_result.h" ] public_headers = [ "//components/spellcheck/common/spellcheck_result.h" ]
traits_headers = [ "//components/spellcheck/common/spellcheck_struct_traits.h" ] traits_headers = [ "//components/spellcheck/common/spellcheck_mojom_traits.h" ]
deps = [ deps = [
"//components/spellcheck:buildflags", "//components/spellcheck:buildflags",
...@@ -17,8 +17,8 @@ public_deps = [ ...@@ -17,8 +17,8 @@ public_deps = [
] ]
sources = [ sources = [
"spellcheck_struct_traits.cc", "spellcheck_mojom_traits.cc",
"spellcheck_struct_traits.h", "spellcheck_mojom_traits.h",
] ]
type_mappings = [ type_mappings = [
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#include "components/spellcheck/common/spellcheck_struct_traits.h" #include "components/spellcheck/common/spellcheck_mojom_traits.h"
#include "mojo/public/cpp/base/string16_mojom_traits.h" #include "mojo/public/cpp/base/string16_mojom_traits.h"
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef COMPONENTS_SPELLCHECK_COMMON_SPELLCHECK_STRUCT_TRAITS_H #ifndef COMPONENTS_SPELLCHECK_COMMON_SPELLCHECK_MOJOM_TRAITS_H_
#define COMPONENTS_SPELLCHECK_COMMON_SPELLCHECK_STRUCT_TRAITS_H #define COMPONENTS_SPELLCHECK_COMMON_SPELLCHECK_MOJOM_TRAITS_H_
#include "components/spellcheck/common/spellcheck.mojom.h" #include "components/spellcheck/common/spellcheck.mojom.h"
#include "components/spellcheck/common/spellcheck_result.h" #include "components/spellcheck/common/spellcheck_result.h"
...@@ -44,4 +44,4 @@ struct StructTraits<spellcheck::mojom::SpellCheckResultDataView, ...@@ -44,4 +44,4 @@ struct StructTraits<spellcheck::mojom::SpellCheckResultDataView,
} // namespace mojo } // namespace mojo
#endif // COMPONENTS_SPELLCHECK_COMMON_SPELLCHECK_STRUCT_TRAITS_H #endif // COMPONENTS_SPELLCHECK_COMMON_SPELLCHECK_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