Commit 33c84f38 authored by Miyoung Shin's avatar Miyoung Shin Committed by Commit Bot

Rename traits in //components/translate

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

*_struct_traits.* => *_mojom_traits.*

Bug: 806965
Change-Id: I177733c24c2b6ff37144a9127a1c2509a0a01101
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1730518Reviewed-by: default avatarKinuko Yasuda <kinuko@chromium.org>
Reviewed-by: default avatarHajime Hoshi <hajimehoshi@chromium.org>
Commit-Queue: Miyoung Shin <myid.shin@igalia.com>
Cr-Commit-Position: refs/heads/master@{#683144}
parent 09172ac2
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=file://ipc/SECURITY_OWNERS
...@@ -8,9 +8,9 @@ public_headers = [ ...@@ -8,9 +8,9 @@ public_headers = [
"//components/translate/core/common/translate_errors.h", "//components/translate/core/common/translate_errors.h",
] ]
traits_headers = traits_headers =
[ "//components/translate/content/common/translate_struct_traits.h" ] [ "//components/translate/content/common/translate_mojom_traits.h" ]
sources = [ sources = [
"//components/translate/content/common/translate_struct_traits.cc", "//components/translate/content/common/translate_mojom_traits.cc",
] ]
deps = [ deps = [
"//base", "//base",
......
...@@ -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/translate/content/common/translate_struct_traits.h" #include "components/translate/content/common/translate_mojom_traits.h"
#include "mojo/public/cpp/base/string16_mojom_traits.h" #include "mojo/public/cpp/base/string16_mojom_traits.h"
#include "mojo/public/cpp/base/time_mojom_traits.h" #include "mojo/public/cpp/base/time_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_TRANSLATE_CONTENT_COMMON_TRANSLATE_STRUCT_TRAITS_H_ #ifndef COMPONENTS_TRANSLATE_CONTENT_COMMON_TRANSLATE_MOJOM_TRAITS_H_
#define COMPONENTS_TRANSLATE_CONTENT_COMMON_TRANSLATE_STRUCT_TRAITS_H_ #define COMPONENTS_TRANSLATE_CONTENT_COMMON_TRANSLATE_MOJOM_TRAITS_H_
#include "base/strings/string16.h" #include "base/strings/string16.h"
#include "base/time/time.h" #include "base/time/time.h"
...@@ -73,4 +73,4 @@ struct StructTraits<translate::mojom::LanguageDetectionDetailsDataView, ...@@ -73,4 +73,4 @@ struct StructTraits<translate::mojom::LanguageDetectionDetailsDataView,
} // namespace mojo } // namespace mojo
#endif // COMPONENTS_TRANSLATE_CONTENT_COMMON_TRANSLATE_STRUCT_TRAITS_H_ #endif // COMPONENTS_TRANSLATE_CONTENT_COMMON_TRANSLATE_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