Commit 637c4054 authored by Miyoung Shin's avatar Miyoung Shin Committed by Commit Bot

Rename traits in //components/content_capture

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

*_struct_traits.* => *_mojom_traits.*

Bug: 806965
Change-Id: I22a27a70660e9e0c7ea685ddc44aaad0092a0040
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1728536Reviewed-by: default avatarTao Bai <michaelbai@chromium.org>
Reviewed-by: default avatarKinuko Yasuda <kinuko@chromium.org>
Commit-Queue: Miyoung Shin <myid.shin@igalia.com>
Cr-Commit-Position: refs/heads/master@{#682986}
parent 91a5eb57
...@@ -55,7 +55,7 @@ mojom("mojo_test_types") { ...@@ -55,7 +55,7 @@ mojom("mojo_test_types") {
source_set("unit_tests") { source_set("unit_tests") {
testonly = true testonly = true
sources = [ sources = [
"content_capture_struct_traits_unittest.cc", "content_capture_mojom_traits_unittest.cc",
] ]
public_deps = [ public_deps = [
......
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,10 +6,10 @@ mojom = "//components/content_capture/common/content_capture_data.mojom" ...@@ -6,10 +6,10 @@ mojom = "//components/content_capture/common/content_capture_data.mojom"
public_headers = public_headers =
[ "//components/content_capture/common/content_capture_data.h" ] [ "//components/content_capture/common/content_capture_data.h" ]
traits_headers = traits_headers =
[ "//components/content_capture/common/content_capture_struct_traits.h" ] [ "//components/content_capture/common/content_capture_mojom_traits.h" ]
sources = [ sources = [
"//components/content_capture/common/content_capture_struct_traits.cc", "//components/content_capture/common/content_capture_mojom_traits.cc",
"//components/content_capture/common/content_capture_struct_traits.h", "//components/content_capture/common/content_capture_mojom_traits.h",
] ]
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/content_capture/common/content_capture_struct_traits.h" #include "components/content_capture/common/content_capture_mojom_traits.h"
#include "mojo/public/cpp/base/string16_mojom_traits.h" #include "mojo/public/cpp/base/string16_mojom_traits.h"
#include "ui/gfx/geometry/mojom/geometry_mojom_traits.h" #include "ui/gfx/geometry/mojom/geometry_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_CONTENT_CAPTURE_COMMON_CONTENT_CAPTURE_STRUCT_TRAITS_H_ #ifndef COMPONENTS_CONTENT_CAPTURE_COMMON_CONTENT_CAPTURE_MOJOM_TRAITS_H_
#define COMPONENTS_CONTENT_CAPTURE_COMMON_CONTENT_CAPTURE_STRUCT_TRAITS_H_ #define COMPONENTS_CONTENT_CAPTURE_COMMON_CONTENT_CAPTURE_MOJOM_TRAITS_H_
#include <vector> #include <vector>
...@@ -39,4 +39,4 @@ class StructTraits<content_capture::mojom::ContentCaptureDataDataView, ...@@ -39,4 +39,4 @@ class StructTraits<content_capture::mojom::ContentCaptureDataDataView,
} // namespace mojo } // namespace mojo
#endif // COMPONENTS_CONTENT_CAPTURE_COMMON_CONTENT_CAPTURE_STRUCT_TRAITS_H_ #endif // COMPONENTS_CONTENT_CAPTURE_COMMON_CONTENT_CAPTURE_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